#875FB8#875FB8
#875FB8 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.6% C 0.138 H 303.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #875FB8 |
|---|---|
| RGB | rgb(135, 95, 184) |
| HSL | hsl(267, 39%, 55%) |
| HSV | hsv(267, 48%, 72%) |
| CMYK | cmyk(26.6%, 48.4%, 0%, 27.8%) |
| CIE-LAB | lab(48.00, 34.50, -41.21) |
| CIE-LCH | lch(48.00, 53.75, 309.93°) |
| OKLab | oklab(56.59% 0.0751 -0.1156) |
| OKLCH | oklch(56.59% 0.138 303) |
| XYZ | xyz(22.7337, 16.7960, 47.3824) |
| Luminance | 0.1680 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.49
Amethyst
#9B5FC0
ΔE00 4.27
Royal Purple
#7851A9
ΔE00 5.35
Deep Lilac
#966EBD
ΔE00 5.71
Light Indigo
#6D5ACF
ΔE00 7.49
Purpley
#8756E4
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875FB8 #90B85F
analogous
#5F64B8 #875FB8 #B35FB8
triadic
#875FB8 #B8875F #5FB887
tetradic
#875FB8 #B85F64 #90B85F #5FB8B3
square
#875FB8 #B85F64 #90B85F #5FB8B3
split-complementary
#875FB8 #B8B35F #64B85F
monochromatic
#4B306C #694397 #875FB8 #A789CB #C7B4DE
Accessibility & contrast
On white
4.82
#875FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#875FB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #875FB8
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875FB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##875FB8 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4571BB
Deuteranopia (green-blind)
#4F72B6
Tritanopia (blue-blind)
#7E6F83
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #875fb8; /* rgb */ color: rgb(135, 95, 184); /* oklch */ color: oklch(56.6% 0.138 303.0);
Tailwind
colors: {
custom: {
50: '#ac8dce',
500: '#875fb8',
950: '#000000',
},
}SCSS
$custom: #875fb8; $custom-light: #ac8dce; $custom-dark: #000000;
JSON
{
"hex": "#875fb8",
"rgb": {
"r": 135,
"g": 95,
"b": 184
},
"hsl": {
"h": 266.966,
"s": 38.528,
"l": 54.706
},
"oklch": {
"l": 0.56591,
"c": 0.13783,
"h": 303
},
"luminance": 0.16796
}Semantic roles & 50–950 ramp
primary
#875FB8
secondary
#BBCCA7
accent
#CE599A
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82