#874BAE#874BAE
#874BAE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.158 H 310.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #874BAE |
|---|---|
| RGB | rgb(135, 75, 174) |
| HSL | hsl(276, 40%, 49%) |
| HSV | hsv(276, 57%, 68%) |
| CMYK | cmyk(22.4%, 56.9%, 0%, 31.8%) |
| CIE-LAB | lab(43.12, 43.28, -43.11) |
| CIE-LCH | lch(43.12, 61.09, 315.12°) |
| OKLab | oklab(52.8% 0.1017 -0.1211) |
| OKLCH | oklch(52.8% 0.158 310) |
| XYZ | xyz(20.1463, 13.2394, 41.5304) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.56
Purply
#983FB2
ΔE00 3.88
Deep Lavender
#8D5EB7
ΔE00 5.57
Medium Purple
#9E43A2
ΔE00 6.10
Darkorchid
#9932CC
ΔE00 6.37
Amethyst
#9B5FC0
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#874BAE #72AE4B
analogous
#564BAE #874BAE #AE4BA4
triadic
#874BAE #AE874B #4BAE87
tetradic
#874BAE #AE564B #72AE4B #4BA4AE
square
#874BAE #AE564B #72AE4B #4BA4AE
split-complementary
#874BAE #A4AE4B #4BAE56
monochromatic
#452658 #663983 #874BAE #A473C3 #C09ED5
Accessibility & contrast
On white
5.76
#874BAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#874BAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #874BAE
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##874BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##874BAE | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B63B1
Deuteranopia (green-blind)
#4167AC
Tritanopia (blue-blind)
#825D75
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #874bae; /* rgb */ color: rgb(135, 75, 174); /* oklch */ color: oklch(52.8% 0.158 310.0);
Tailwind
colors: {
custom: {
50: '#ad80c7',
500: '#874bae',
950: '#000000',
},
}SCSS
$custom: #874bae; $custom-light: #ad80c7; $custom-dark: #000000;
JSON
{
"hex": "#874bae",
"rgb": {
"r": 135,
"g": 75,
"b": 174
},
"hsl": {
"h": 276.364,
"s": 39.759,
"l": 48.824
},
"oklch": {
"l": 0.52799,
"c": 0.15812,
"h": 310
},
"luminance": 0.13239
}Semantic roles & 50–950 ramp
primary
#874BAE
secondary
#A5C293
accent
#D05887
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82