#875FCE#875FCE
#875FCE is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.9% C 0.166 H 297.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #875FCE |
|---|---|
| RGB | rgb(135, 95, 206) |
| HSL | hsl(262, 53%, 59%) |
| HSV | hsv(262, 54%, 81%) |
| CMYK | cmyk(34.5%, 53.9%, 0%, 19.2%) |
| CIE-LAB | lab(49.24, 40.09, -51.92) |
| CIE-LCH | lch(49.24, 65.60, 307.67°) |
| OKLab | oklab(57.91% 0.0769 -0.1469) |
| OKLCH | oklch(57.91% 0.166 297.6) |
| XYZ | xyz(25.2217, 17.7912, 60.4858) |
| Luminance | 0.1779 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.93
Deep Lavender
#8D5EB7
ΔE00 4.71
Light Indigo
#6D5ACF
ΔE00 5.36
Amethyst
#9B5FC0
ΔE00 5.56
Mediumpurple
#9370DB
ΔE00 5.78
Slate Blue
#6A5ACD
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875FCE #A6CE5F
analogous
#5F6FCE #875FCE #BF5FCE
triadic
#875FCE #CE875F #5FCE87
tetradic
#875FCE #CE5F6F #A6CE5F #5FCEBF
square
#875FCE #CE5F6F #A6CE5F #5FCEBF
split-complementary
#875FCE #CEBF5F #6FCE5F
monochromatic
#4C2A89 #6638B8 #875FCE #AA8EDC #CDBDEB
Accessibility & contrast
On white
4.61
#875FCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#875FCE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #875FCE
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875FCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##875FCE | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3175D2
Deuteranopia (green-blind)
#3D74CB
Tritanopia (blue-blind)
#77758D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #875fce; /* rgb */ color: rgb(135, 95, 206); /* oklch */ color: oklch(57.9% 0.166 297.6);
Tailwind
colors: {
custom: {
50: '#ae8ddd',
500: '#875fce',
950: '#000000',
},
}SCSS
$custom: #875fce; $custom-light: #ae8ddd; $custom-dark: #000000;
JSON
{
"hex": "#875fce",
"rgb": {
"r": 135,
"g": 95,
"b": 206
},
"hsl": {
"h": 261.622,
"s": 53.11,
"l": 59.02
},
"oklch": {
"l": 0.57914,
"c": 0.16581,
"h": 297.6
},
"luminance": 0.17792
}Semantic roles & 50–950 ramp
primary
#875FCE
secondary
#CADAAF
accent
#DD4BA8
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83