#838AFF
A light, vivid blue closely aligning with Mediumpurple.
About #838AFF
At its core, #838AFF is a light and vivid hue. It is closely associated with the named CSS color Mediumpurple. Its digital footprint relies on 131 parts red, 138 parts green, and 255 parts blue light.
For print applications, it's crucial to understand its CMYK makeup. The color uses 49% Cyan, 46% Magenta, 0% Yellow, and 0% Black. The HSL representation is 236.6° hue, 100.0% saturation, and 75.7% lightness.
From a UX and accessibility standpoint, contrast is paramount. Because it is a light color, it is generally recommended to use #000000 text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#838AFF
RGB131, 138, 255
HSL236.6°, 100.0%, 75.7%
CMYK49%, 46%, 0%, 0%
HSV236.6°, 48.6%, 100.0%
LAB61.8, 27.9, -59.2
XYZ36.5, 30.2, 98.5
Decimal8620799
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.98:1
Text on #FFFFFF
FAIL
7.04:1
Text on #000000
AAA
2.85:1
Text on #F8FAFC
FAIL
5.99:1
Text on #0F172A
AA
CSS Implementation
.bg-color {
background-color: #838AFF;
}
.text-color {
color: #838AFF;
}
.border-color {
border: 2px solid #838AFF;
}