#874FC7#874FC7
#874FC7 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.181 H 302.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #874FC7 |
|---|---|
| RGB | rgb(135, 79, 199) |
| HSL | hsl(268, 52%, 55%) |
| HSV | hsv(268, 60%, 78%) |
| CMYK | cmyk(32.2%, 60.3%, 0%, 22%) |
| CIE-LAB | lab(45.45, 47.13, -53.98) |
| CIE-LCH | lch(45.45, 71.66, 311.12°) |
| OKLab | oklab(54.99% 0.0967 -0.1529) |
| OKLCH | oklch(54.99% 0.181 302.3) |
| XYZ | xyz(23.0941, 14.8663, 55.6746) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.92
Royal Purple
#7851A9
ΔE00 5.38
Deep Lavender
#8D5EB7
ΔE00 5.52
Darkorchid
#9932CC
ΔE00 5.77
Light Indigo
#6D5ACF
ΔE00 6.29
Purply
#983FB2
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#874FC7 #8FC74F
analogous
#4F53C7 #874FC7 #C34FC7
triadic
#874FC7 #C7874F #4FC787
tetradic
#874FC7 #C74F53 #8FC74F #4FC7C3
square
#874FC7 #C74F53 #8FC74F #4FC7C3
split-complementary
#874FC7 #C7C34F #53C74F
monochromatic
#4B2676 #6934A4 #874FC7 #A77DD6 #C6ACE5
Accessibility & contrast
On white
5.29
#874FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#874FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #874FC7
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##874FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##874FC7 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#076BCB
Deuteranopia (green-blind)
#2D6BC4
Tritanopia (blue-blind)
#7A6883
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #874fc7; /* rgb */ color: rgb(135, 79, 199); /* oklch */ color: oklch(55.0% 0.181 302.3);
Tailwind
colors: {
custom: {
50: '#ae83d9',
500: '#874fc7',
950: '#000000',
},
}SCSS
$custom: #874fc7; $custom-light: #ae83d9; $custom-dark: #000000;
JSON
{
"hex": "#874fc7",
"rgb": {
"r": 135,
"g": 79,
"b": 199
},
"hsl": {
"h": 268,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.54992,
"c": 0.18095,
"h": 302.3
},
"luminance": 0.14866
}Semantic roles & 50–950 ramp
primary
#874FC7
secondary
#BBD2A0
accent
#DB4D99
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83