#874FC2#874FC2
#874FC2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.175 H 303.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #874FC2 |
|---|---|
| RGB | rgb(135, 79, 194) |
| HSL | hsl(269, 49%, 54%) |
| HSV | hsv(269, 59%, 76%) |
| CMYK | cmyk(30.4%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(45.13, 45.90, -51.59) |
| CIE-LCH | lch(45.13, 69.06, 311.66°) |
| OKLab | oklab(54.66% 0.0968 -0.1459) |
| OKLCH | oklch(54.66% 0.175 303.6) |
| XYZ | xyz(22.5231, 14.6379, 52.6673) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.74
Deep Lavender
#8D5EB7
ΔE00 5.11
Purpley
#8756E4
ΔE00 5.68
Darkorchid
#9932CC
ΔE00 5.79
Purply
#983FB2
ΔE00 5.79
Amethyst
#9B5FC0
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#874FC2 #8AC24F
analogous
#4F50C2 #874FC2 #C04FC2
triadic
#874FC2 #C2874F #4FC287
tetradic
#874FC2 #C24F50 #8AC24F #4FC2C0
square
#874FC2 #C24F50 #8AC24F #4FC2C0
split-complementary
#874FC2 #C2C04F #50C24F
monochromatic
#4A2770 #69379D #874FC2 #A67CD2 #C5AAE2
Accessibility & contrast
On white
5.35
#874FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#874FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #874FC2
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##874FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##874FC2 | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#176AC6
Deuteranopia (green-blind)
#336BBF
Tritanopia (blue-blind)
#7C6681
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #874fc2; /* rgb */ color: rgb(135, 79, 194); /* oklch */ color: oklch(54.7% 0.175 303.6);
Tailwind
colors: {
custom: {
50: '#ae83d5',
500: '#874fc2',
950: '#000000',
},
}SCSS
$custom: #874fc2; $custom-light: #ae83d5; $custom-dark: #000000;
JSON
{
"hex": "#874fc2",
"rgb": {
"r": 135,
"g": 79,
"b": 194
},
"hsl": {
"h": 269.217,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.5466,
"c": 0.17512,
"h": 303.6
},
"luminance": 0.14638
}Semantic roles & 50–950 ramp
primary
#874FC2
secondary
#B7CF9E
accent
#D85096
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83