#874FBF#874FBF
#874FBF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.172 H 304.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #874FBF |
|---|---|
| RGB | rgb(135, 79, 191) |
| HSL | hsl(270, 47%, 53%) |
| HSV | hsv(270, 59%, 75%) |
| CMYK | cmyk(29.3%, 58.6%, 0%, 25.1%) |
| CIE-LAB | lab(44.95, 45.17, -50.15) |
| CIE-LCH | lch(44.95, 67.49, 312.01°) |
| OKLab | oklab(54.46% 0.0969 -0.1417) |
| OKLCH | oklch(54.46% 0.172 304.4) |
| XYZ | xyz(22.1895, 14.5045, 50.9108) |
| Luminance | 0.1450 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.37
Deep Lavender
#8D5EB7
ΔE00 4.90
Purply
#983FB2
ΔE00 5.50
Darkorchid
#9932CC
ΔE00 5.86
Purpley
#8756E4
ΔE00 6.15
Amethyst
#9B5FC0
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#874FBF #87BF4F
analogous
#4F4FBF #874FBF #BF4FBF
triadic
#874FBF #BF874F #4FBF87
tetradic
#874FBF #BF4F4F #87BF4F #4FBFBF
square
#874FBF #BF4F4F #87BF4F #4FBFBF
split-complementary
#874FBF #BFBF4F #4FBF4F
monochromatic
#4A276C #683899 #874FBF #A67CCF #C4A9E0
Accessibility & contrast
On white
5.38
#874FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#874FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #874FBF
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##874FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##874FBF | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D69C3
Deuteranopia (green-blind)
#366ABC
Tritanopia (blue-blind)
#7D657F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #874fbf; /* rgb */ color: rgb(135, 79, 191); /* oklch */ color: oklch(54.5% 0.172 304.4);
Tailwind
colors: {
custom: {
50: '#ad83d3',
500: '#874fbf',
950: '#000000',
},
}SCSS
$custom: #874fbf; $custom-light: #ad83d3; $custom-dark: #000000;
JSON
{
"hex": "#874fbf",
"rgb": {
"r": 135,
"g": 79,
"b": 191
},
"hsl": {
"h": 270,
"s": 46.667,
"l": 52.941
},
"oklch": {
"l": 0.54464,
"c": 0.17163,
"h": 304.4
},
"luminance": 0.14504
}Semantic roles & 50–950 ramp
primary
#874FBF
secondary
#B5CD9D
accent
#D65194
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83