#874BC1#874BC1
#874BC1 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.180 H 304.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #874BC1 |
|---|---|
| RGB | rgb(135, 75, 193) |
| HSL | hsl(271, 49%, 53%) |
| HSV | hsv(271, 61%, 76%) |
| CMYK | cmyk(30.1%, 61.1%, 0%, 24.3%) |
| CIE-LAB | lab(44.28, 47.77, -52.38) |
| CIE-LCH | lch(44.28, 70.90, 312.37°) |
| OKLab | oklab(54.02% 0.1018 -0.1482) |
| OKLCH | oklch(54.02% 0.18 304.5) |
| XYZ | xyz(22.1313, 14.0334, 51.9845) |
| Luminance | 0.1403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.82
Darkorchid
#9932CC
ΔE00 5.01
Purply
#983FB2
ΔE00 5.21
Deep Lavender
#8D5EB7
ΔE00 5.91
Purpley
#8756E4
ΔE00 6.26
Blueviolet
#8A2BE2
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#874BC1 #85C14B
analogous
#4C4BC1 #874BC1 #C14BC0
triadic
#874BC1 #C1874B #4BC187
tetradic
#874BC1 #C14C4B #85C14B #4BC0C1
square
#874BC1 #C14C4B #85C14B #4BC0C1
split-complementary
#874BC1 #C0C14B #4BC14C
monochromatic
#49256C #68359A #874BC1 #A579D1 #C4A6E0
Accessibility & contrast
On white
5.52
#874BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#874BC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #874BC1
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##874BC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##874BC1 | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0667C5
Deuteranopia (green-blind)
#2F69BE
Tritanopia (blue-blind)
#7D637F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #874bc1; /* rgb */ color: rgb(135, 75, 193); /* oklch */ color: oklch(54.0% 0.180 304.5);
Tailwind
colors: {
custom: {
50: '#ae80d4',
500: '#874bc1',
950: '#000000',
},
}SCSS
$custom: #874bc1; $custom-light: #ae80d4; $custom-dark: #000000;
JSON
{
"hex": "#874bc1",
"rgb": {
"r": 135,
"g": 75,
"b": 193
},
"hsl": {
"h": 270.508,
"s": 48.76,
"l": 52.549
},
"oklch": {
"l": 0.54018,
"c": 0.17981,
"h": 304.5
},
"luminance": 0.14033
}Semantic roles & 50–950 ramp
primary
#874BC1
secondary
#B3CE9A
accent
#D84F93
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83