#874FC0#874FC0
#874FC0 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.173 H 304.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #874FC0 |
|---|---|
| RGB | rgb(135, 79, 192) |
| HSL | hsl(270, 47%, 53%) |
| HSV | hsv(270, 59%, 75%) |
| CMYK | cmyk(29.7%, 58.9%, 0%, 24.7%) |
| CIE-LAB | lab(45.01, 45.41, -50.63) |
| CIE-LCH | lch(45.01, 68.01, 311.89°) |
| OKLab | oklab(54.53% 0.0969 -0.1431) |
| OKLCH | oklch(54.53% 0.173 304.1) |
| XYZ | xyz(22.3000, 14.5487, 51.4923) |
| Luminance | 0.1455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.49
Deep Lavender
#8D5EB7
ΔE00 4.97
Purply
#983FB2
ΔE00 5.60
Darkorchid
#9932CC
ΔE00 5.83
Purpley
#8756E4
ΔE00 5.99
Amethyst
#9B5FC0
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#874FC0 #88C04F
analogous
#4F4FC0 #874FC0 #C04FC0
triadic
#874FC0 #C0874F #4FC087
tetradic
#874FC0 #C04F4F #88C04F #4FC0C0
square
#874FC0 #C04F4F #88C04F #4FC0C0
split-complementary
#874FC0 #C0C04F #4FC04F
monochromatic
#4A276D #68379A #874FC0 #A67CD0 #C4A9E0
Accessibility & contrast
On white
5.37
#874FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#874FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #874FC0
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##874FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##874FC0 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B69C4
Deuteranopia (green-blind)
#356ABD
Tritanopia (blue-blind)
#7D6680
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #874fc0; /* rgb */ color: rgb(135, 79, 192); /* oklch */ color: oklch(54.5% 0.173 304.1);
Tailwind
colors: {
custom: {
50: '#ad83d4',
500: '#874fc0',
950: '#000000',
},
}SCSS
$custom: #874fc0; $custom-light: #ad83d4; $custom-dark: #000000;
JSON
{
"hex": "#874fc0",
"rgb": {
"r": 135,
"g": 79,
"b": 192
},
"hsl": {
"h": 269.735,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.54529,
"c": 0.17279,
"h": 304.1
},
"luminance": 0.14549
}Semantic roles & 50–950 ramp
primary
#874FC0
secondary
#B6CE9D
accent
#D75194
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83