#874CCF#874CCF
#874CCF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.1% C 0.194 H 300.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #874CCF |
|---|---|
| RGB | rgb(135, 76, 207) |
| HSL | hsl(267, 58%, 55%) |
| HSV | hsv(267, 63%, 81%) |
| CMYK | cmyk(34.8%, 63.3%, 0%, 18.8%) |
| CIE-LAB | lab(45.39, 50.68, -58.69) |
| CIE-LCH | lch(45.39, 77.54, 310.81°) |
| OKLab | oklab(55.12% 0.0998 -0.1667) |
| OKLCH | oklch(55.12% 0.194 300.9) |
| XYZ | xyz(23.8359, 14.8246, 60.6251) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.22
Darkorchid
#9932CC
ΔE00 5.36
Blueviolet
#8A2BE2
ΔE00 5.83
Light Indigo
#6D5ACF
ΔE00 6.21
Bluish Purple
#703BE7
ΔE00 6.27
Royal Purple
#7851A9
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#874CCF #94CF4C
analogous
#4C52CF #874CCF #C84CCF
triadic
#874CCF #CF874C #4CCF87
tetradic
#874CCF #CF4C52 #94CF4C #4CCFC8
square
#874CCF #CF4C52 #94CF4C #4CCFC8
split-complementary
#874CCF #CFC84C #52CF4C
monochromatic
#4C227F #692FAF #874CCF #A77CDC #C8ADE9
Accessibility & contrast
On white
5.30
#874CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#874CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #874CCF
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##874CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##874CCF | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#186BCC
Tritanopia (blue-blind)
#786987
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #874ccf; /* rgb */ color: rgb(135, 76, 207); /* oklch */ color: oklch(55.1% 0.194 300.9);
Tailwind
colors: {
custom: {
50: '#af81de',
500: '#874ccf',
950: '#000000',
},
}SCSS
$custom: #874ccf; $custom-light: #af81de; $custom-dark: #000000;
JSON
{
"hex": "#874ccf",
"rgb": {
"r": 135,
"g": 76,
"b": 207
},
"hsl": {
"h": 267.023,
"s": 57.709,
"l": 55.49
},
"oklch": {
"l": 0.55118,
"c": 0.19435,
"h": 300.9
},
"luminance": 0.14825
}Semantic roles & 50–950 ramp
primary
#874CCF
secondary
#BED7A0
accent
#E1479C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83