#874FD3#874FD3
#874FD3 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.195 H 299.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #874FD3 |
|---|---|
| RGB | rgb(135, 79, 211) |
| HSL | hsl(265, 60%, 57%) |
| HSV | hsv(265, 63%, 83%) |
| CMYK | cmyk(36%, 62.6%, 0%, 17.3%) |
| CIE-LAB | lab(46.24, 50.12, -59.62) |
| CIE-LCH | lch(46.24, 77.89, 310.06°) |
| OKLab | oklab(55.82% 0.0961 -0.1695) |
| OKLCH | oklch(55.82% 0.195 299.6) |
| XYZ | xyz(24.5426, 15.4458, 63.3037) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.25
Light Indigo
#6D5ACF
ΔE00 5.71
Darkorchid
#9932CC
ΔE00 6.14
Lightish Purple
#A552E6
ΔE00 6.19
Slate Blue
#6A5ACD
ΔE00 6.24
Blueviolet
#8A2BE2
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#874FD3 #9BD34F
analogous
#4F59D3 #874FD3 #C94FD3
triadic
#874FD3 #D3874F #4FD387
tetradic
#874FD3 #D34F59 #9BD34F #4FD3C9
square
#874FD3 #D34F59 #9BD34F #4FD3C9
split-complementary
#874FD3 #D3C94F #59D34F
monochromatic
#4C2286 #682EB7 #874FD3 #A880DF #CAB1EB
Accessibility & contrast
On white
5.14
#874FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#874FD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #874FD3
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##874FD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##874FD3 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#166CD0
Tritanopia (blue-blind)
#766C8A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #874fd3; /* rgb */ color: rgb(135, 79, 211); /* oklch */ color: oklch(55.8% 0.195 299.6);
Tailwind
colors: {
custom: {
50: '#af83e1',
500: '#874fd3',
950: '#000000',
},
}SCSS
$custom: #874fd3; $custom-light: #af83e1; $custom-dark: #000000;
JSON
{
"hex": "#874fd3",
"rgb": {
"r": 135,
"g": 79,
"b": 211
},
"hsl": {
"h": 265.455,
"s": 60,
"l": 56.863
},
"oklch": {
"l": 0.55816,
"c": 0.19486,
"h": 299.6
},
"luminance": 0.15446
}Semantic roles & 50–950 ramp
primary
#874FD3
secondary
#C3DAA4
accent
#E345A0
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83