#874FD5#874FD5
#874FD5 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.0% C 0.197 H 299.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #874FD5 |
|---|---|
| RGB | rgb(135, 79, 213) |
| HSL | hsl(265, 61%, 57%) |
| HSV | hsv(265, 63%, 84%) |
| CMYK | cmyk(36.6%, 62.9%, 0%, 16.5%) |
| CIE-LAB | lab(46.37, 50.63, -60.54) |
| CIE-LCH | lch(46.37, 78.92, 309.90°) |
| OKLab | oklab(55.96% 0.096 -0.1722) |
| OKLCH | oklch(55.96% 0.197 299.1) |
| XYZ | xyz(24.7949, 15.5467, 64.6324) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.00
Light Indigo
#6D5ACF
ΔE00 5.67
Lightish Purple
#A552E6
ΔE00 6.09
Slate Blue
#6A5ACD
ΔE00 6.21
Darkorchid
#9932CC
ΔE00 6.25
Blueviolet
#8A2BE2
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#874FD5 #9DD54F
analogous
#4F5AD5 #874FD5 #CA4FD5
triadic
#874FD5 #D5874F #4FD587
tetradic
#874FD5 #D54F5A #9DD54F #4FD5CA
square
#874FD5 #D54F5A #9DD54F #4FD5CA
split-complementary
#874FD5 #D5CA4F #5AD54F
monochromatic
#4C2189 #682CBA #874FD5 #A980E1 #CAB2ED
Accessibility & contrast
On white
5.11
#874FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#874FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #874FD5
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##874FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##874FD5 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#0F6DD2
Tritanopia (blue-blind)
#756D8B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #874fd5; /* rgb */ color: rgb(135, 79, 213); /* oklch */ color: oklch(56.0% 0.197 299.1);
Tailwind
colors: {
custom: {
50: '#af83e3',
500: '#874fd5',
950: '#000000',
},
}SCSS
$custom: #874fd5; $custom-light: #af83e3; $custom-dark: #000000;
JSON
{
"hex": "#874fd5",
"rgb": {
"r": 135,
"g": 79,
"b": 213
},
"hsl": {
"h": 265.075,
"s": 61.468,
"l": 57.255
},
"oklch": {
"l": 0.55957,
"c": 0.19716,
"h": 299.1
},
"luminance": 0.15547
}Semantic roles & 50–950 ramp
primary
#874FD5
secondary
#C4DBA5
accent
#E543A1
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B15
muted
#807C84