#874BC0#874BC0
#874BC0 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.179 H 304.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #874BC0 |
|---|---|
| RGB | rgb(135, 75, 192) |
| HSL | hsl(271, 48%, 52%) |
| HSV | hsv(271, 61%, 75%) |
| CMYK | cmyk(29.7%, 60.9%, 0%, 24.7%) |
| CIE-LAB | lab(44.22, 47.53, -51.90) |
| CIE-LCH | lch(44.22, 70.38, 312.48°) |
| OKLab | oklab(53.95% 0.1018 -0.1468) |
| OKLCH | oklch(53.95% 0.179 304.7) |
| XYZ | xyz(22.0201, 13.9889, 51.3990) |
| Luminance | 0.1399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.71
Darkorchid
#9932CC
ΔE00 5.04
Purply
#983FB2
ΔE00 5.10
Deep Lavender
#8D5EB7
ΔE00 5.85
Purpley
#8756E4
ΔE00 6.41
Blueviolet
#8A2BE2
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#874BC0 #84C04B
analogous
#4C4BC0 #874BC0 #C04BBF
triadic
#874BC0 #C0874B #4BC087
tetradic
#874BC0 #C04C4B #84C04B #4BBFC0
square
#874BC0 #C04C4B #84C04B #4BBFC0
split-complementary
#874BC0 #BFC04B #4BC04C
monochromatic
#49256B #683598 #874BC0 #A578D0 #C3A6E0
Accessibility & contrast
On white
5.53
#874BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#874BC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #874BC0
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##874BC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##874BC0 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A67C4
Deuteranopia (green-blind)
#3069BD
Tritanopia (blue-blind)
#7D637E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #874bc0; /* rgb */ color: rgb(135, 75, 192); /* oklch */ color: oklch(54.0% 0.179 304.7);
Tailwind
colors: {
custom: {
50: '#ae80d4',
500: '#874bc0',
950: '#000000',
},
}SCSS
$custom: #874bc0; $custom-light: #ae80d4; $custom-dark: #000000;
JSON
{
"hex": "#874bc0",
"rgb": {
"r": 135,
"g": 75,
"b": 192
},
"hsl": {
"h": 270.769,
"s": 48.148,
"l": 52.353
},
"oklch": {
"l": 0.53951,
"c": 0.17867,
"h": 304.7
},
"luminance": 0.13989
}Semantic roles & 50–950 ramp
primary
#874BC0
secondary
#B3CD9A
accent
#D85092
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83