#874CA9#874CA9
#874CA9 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.151 H 311.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #874CA9 |
|---|---|
| RGB | rgb(135, 76, 169) |
| HSL | hsl(278, 38%, 48%) |
| HSV | hsv(278, 55%, 66%) |
| CMYK | cmyk(20.1%, 55%, 0%, 33.7%) |
| CIE-LAB | lab(43.04, 41.60, -40.28) |
| CIE-LCH | lch(43.04, 57.91, 315.92°) |
| OKLab | oklab(52.65% 0.1001 -0.1128) |
| OKLCH | oklch(52.65% 0.151 311.6) |
| XYZ | xyz(19.7363, 13.1848, 39.0337) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.63
Purply
#983FB2
ΔE00 4.09
Deep Lavender
#8D5EB7
ΔE00 5.56
Medium Purple
#9E43A2
ΔE00 5.61
Ugly Purple
#A442A0
ΔE00 6.99
Darkorchid
#9932CC
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#874CA9 #6EA94C
analogous
#594CA9 #874CA9 #A94C9C
triadic
#874CA9 #A9874C #4CA987
tetradic
#874CA9 #A9594C #6EA94C #4C9CA9
square
#874CA9 #A9594C #6EA94C #4C9CA9
split-complementary
#874CA9 #9CA94C #4CA959
monochromatic
#442655 #65397F #874CA9 #A372C0 #BF9DD3
Accessibility & contrast
On white
5.77
#874CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#874CA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #874CA9
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##874CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##874CA9 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3263AC
Deuteranopia (green-blind)
#4667A7
Tritanopia (blue-blind)
#835C73
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #874ca9; /* rgb */ color: rgb(135, 76, 169); /* oklch */ color: oklch(52.6% 0.151 311.6);
Tailwind
colors: {
custom: {
50: '#ac80c3',
500: '#874ca9',
950: '#000000',
},
}SCSS
$custom: #874ca9; $custom-light: #ac80c3; $custom-dark: #000000;
JSON
{
"hex": "#874ca9",
"rgb": {
"r": 135,
"g": 76,
"b": 169
},
"hsl": {
"h": 278.065,
"s": 37.959,
"l": 48.039
},
"oklch": {
"l": 0.52647,
"c": 0.15082,
"h": 311.6
},
"luminance": 0.13184
}Semantic roles & 50–950 ramp
primary
#874CA9
secondary
#A2BF91
accent
#CE5A84
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A12
muted
#7F7C81