#874CDC#874CDC
#874CDC is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.209 H 298.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #874CDC |
|---|---|
| RGB | rgb(135, 76, 220) |
| HSL | hsl(265, 67%, 58%) |
| HSV | hsv(265, 65%, 86%) |
| CMYK | cmyk(38.6%, 65.5%, 0%, 13.7%) |
| CIE-LAB | lab(46.29, 53.94, -64.67) |
| CIE-LCH | lch(46.29, 84.21, 309.83°) |
| OKLab | oklab(56.05% 0.0986 -0.1843) |
| OKLCH | oklch(56.05% 0.209 298.1) |
| XYZ | xyz(25.4911, 15.4867, 69.3425) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.86
Bluish Purple
#703BE7
ΔE00 5.55
Blueviolet
#8A2BE2
ΔE00 5.59
Light Indigo
#6D5ACF
ΔE00 6.01
Lightish Purple
#A552E6
ΔE00 6.11
Darkorchid
#9932CC
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#874CDC #A1DC4C
analogous
#4C59DC #874CDC #CF4CDC
triadic
#874CDC #DC874C #4CDC87
tetradic
#874CDC #DC4C59 #A1DC4C #4CDCCF
square
#874CDC #DC4C59 #A1DC4C #4CDCCF
split-complementary
#874CDC #DCCF4C #59DC4C
monochromatic
#4C1C91 #6726C4 #874CDC #A97FE6 #CCB2F0
Accessibility & contrast
On white
5.13
#874CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#874CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #874CDC
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##874CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##874CDC | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#736D8E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #874cdc; /* rgb */ color: rgb(135, 76, 220); /* oklch */ color: oklch(56.1% 0.209 298.1);
Tailwind
colors: {
custom: {
50: '#b082e8',
500: '#874cdc',
950: '#000000',
},
}SCSS
$custom: #874cdc; $custom-light: #b082e8; $custom-dark: #000000;
JSON
{
"hex": "#874cdc",
"rgb": {
"r": 135,
"g": 76,
"b": 220
},
"hsl": {
"h": 264.583,
"s": 67.29,
"l": 58.039
},
"oklch": {
"l": 0.56053,
"c": 0.20906,
"h": 298.1
},
"luminance": 0.15487
}Semantic roles & 50–950 ramp
primary
#874CDC
secondary
#C7DFA5
accent
#EA3EA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84