#7874FF#7874FF
#7874FF is a light, highly saturated blue. Relative luminance 0.237; OKLCH L 63.4% C 0.201 H 280.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7874FF |
|---|---|
| RGB | rgb(120, 116, 255) |
| HSL | hsl(242, 100%, 73%) |
| HSV | hsv(242, 55%, 100%) |
| CMYK | cmyk(52.9%, 54.5%, 0%, 0%) |
| CIE-LAB | lab(55.79, 38.53, -68.98) |
| CIE-LCH | lch(55.79, 79.02, 299.19°) |
| OKLab | oklab(63.44% 0.0359 -0.1974) |
| OKLCH | oklch(63.44% 0.201 280.3) |
| XYZ | xyz(32.0355, 23.7019, 97.4752) |
| Luminance | 0.2370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.28
Mediumslateblue
#7B68EE
ΔE00 4.45
Periwinkle (survey)
#8E82FE
ΔE00 5.02
Lavender Blue
#8B88F8
ΔE00 6.23
Mediumpurple
#9370DB
ΔE00 7.92
Perrywinkle
#8F8CE7
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7874FF #FBFF74
analogous
#74B5FF #7874FF #BE74FF
triadic
#7874FF #FF7874 #74FF78
tetradic
#7874FF #FF74B5 #FBFF74 #74FFBE
square
#7874FF #FF74B5 #FBFF74 #74FFBE
split-complementary
#7874FF #FFBE74 #B5FF74
monochromatic
#0700F9 #3D37FF #7874FF #B3B1FF #E1E0FF
Accessibility & contrast
On white
3.66
#7874FF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#7874FF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7874FF
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7874FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7874FF | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#158BFF
Deuteranopia (green-blind)
#0080FC
Tritanopia (blue-blind)
#3B94AE
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #7874ff; /* rgb */ color: rgb(120, 116, 255); /* oklch */ color: oklch(63.4% 0.201 280.3);
Tailwind
colors: {
custom: {
50: '#a89cff',
500: '#7874ff',
950: '#000000',
},
}SCSS
$custom: #7874ff; $custom-light: #a89cff; $custom-dark: #000000;
JSON
{
"hex": "#7874ff",
"rgb": {
"r": 120,
"g": 116,
"b": 255
},
"hsl": {
"h": 241.727,
"s": 100,
"l": 72.745
},
"oklch": {
"l": 0.63437,
"c": 0.20065,
"h": 280.3
},
"luminance": 0.23704
}Semantic roles & 50–950 ramp
primary
#7874FF
secondary
#F6F7D4
accent
#E600DF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86