#874FBB#874FBB
#874FBB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.167 H 305.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #874FBB |
|---|---|
| RGB | rgb(135, 79, 187) |
| HSL | hsl(271, 44%, 52%) |
| HSV | hsv(271, 58%, 73%) |
| CMYK | cmyk(27.8%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(44.70, 44.20, -48.21) |
| CIE-LCH | lch(44.70, 65.40, 312.51°) |
| OKLab | oklab(54.21% 0.0968 -0.136) |
| OKLCH | oklch(54.21% 0.167 305.5) |
| XYZ | xyz(21.7554, 14.3309, 48.6241) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.93
Deep Lavender
#8D5EB7
ΔE00 4.68
Purply
#983FB2
ΔE00 5.15
Darkorchid
#9932CC
ΔE00 6.02
Amethyst
#9B5FC0
ΔE00 6.36
Purpley
#8756E4
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#874FBB #83BB4F
analogous
#514FBB #874FBB #BB4FB9
triadic
#874FBB #BB874F #4FBB87
tetradic
#874FBB #BB514F #83BB4F #4FB9BB
square
#874FBB #BB514F #83BB4F #4FB9BB
split-complementary
#874FBB #B9BB4F #4FBB51
monochromatic
#492868 #683994 #874FBB #A57BCC #C3A7DD
Accessibility & contrast
On white
5.43
#874FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#874FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #874FBB
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##874FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##874FBB | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2468BF
Deuteranopia (green-blind)
#3A6AB8
Tritanopia (blue-blind)
#7E647D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #874fbb; /* rgb */ color: rgb(135, 79, 187); /* oklch */ color: oklch(54.2% 0.167 305.5);
Tailwind
colors: {
custom: {
50: '#ad83d0',
500: '#874fbb',
950: '#000000',
},
}SCSS
$custom: #874fbb; $custom-light: #ad83d0; $custom-dark: #000000;
JSON
{
"hex": "#874fbb",
"rgb": {
"r": 135,
"g": 79,
"b": 187
},
"hsl": {
"h": 271.111,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.54207,
"c": 0.16695,
"h": 305.5
},
"luminance": 0.14331
}Semantic roles & 50–950 ramp
primary
#874FBB
secondary
#B2CA9B
accent
#D45492
background
#FAF8FC
surface
#F5EFF9
border
#CFCAD2
text
#110B14
muted
#807C82