#874FCC#874FCC
#874FCC is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.187 H 301.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #874FCC |
|---|---|
| RGB | rgb(135, 79, 204) |
| HSL | hsl(267, 55%, 55%) |
| HSV | hsv(267, 61%, 80%) |
| CMYK | cmyk(33.8%, 61.3%, 0%, 20%) |
| CIE-LAB | lab(45.77, 48.37, -56.34) |
| CIE-LCH | lch(45.77, 74.26, 310.64°) |
| OKLab | oklab(55.33% 0.0965 -0.1599) |
| OKLCH | oklch(55.33% 0.187 301.1) |
| XYZ | xyz(23.6841, 15.1024, 58.7823) |
| Luminance | 0.1510 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.19
Darkorchid
#9932CC
ΔE00 5.85
Light Indigo
#6D5ACF
ΔE00 5.97
Deep Lavender
#8D5EB7
ΔE00 5.99
Royal Purple
#7851A9
ΔE00 6.05
Slate Blue
#6A5ACD
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#874FCC #94CC4F
analogous
#4F55CC #874FCC #C54FCC
triadic
#874FCC #CC874F #4FCC87
tetradic
#874FCC #CC4F55 #94CC4F #4FCCC5
square
#874FCC #CC4F55 #94CC4F #4FCCC5
split-complementary
#874FCC #CCC54F #55CC4F
monochromatic
#4C247D #6932AC #874FCC #A77EDA #C8AEE7
Accessibility & contrast
On white
5.22
#874FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#874FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #874FCC
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##874FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##874FCC | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#256CC9
Tritanopia (blue-blind)
#796A86
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #874fcc; /* rgb */ color: rgb(135, 79, 204); /* oklch */ color: oklch(55.3% 0.187 301.1);
Tailwind
colors: {
custom: {
50: '#ae83dc',
500: '#874fcc',
950: '#000000',
},
}SCSS
$custom: #874fcc; $custom-light: #ae83dc; $custom-dark: #000000;
JSON
{
"hex": "#874fcc",
"rgb": {
"r": 135,
"g": 79,
"b": 204
},
"hsl": {
"h": 266.88,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.55331,
"c": 0.18677,
"h": 301.1
},
"luminance": 0.15102
}Semantic roles & 50–950 ramp
primary
#874FCC
secondary
#BED5A1
accent
#DE499C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83