#875ED2#875ED2
#875ED2 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.172 H 297.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #875ED2 |
|---|---|
| RGB | rgb(135, 94, 210) |
| HSL | hsl(261, 56%, 60%) |
| HSV | hsv(261, 55%, 82%) |
| CMYK | cmyk(35.7%, 55.2%, 0%, 17.6%) |
| CIE-LAB | lab(49.26, 41.69, -54.18) |
| CIE-LCH | lch(49.26, 68.36, 307.58°) |
| OKLab | oklab(58.01% 0.0783 -0.1535) |
| OKLCH | oklch(58.01% 0.172 297) |
| XYZ | xyz(25.6243, 17.8091, 63.0477) |
| Luminance | 0.1781 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.25
Light Indigo
#6D5ACF
ΔE00 5.18
Deep Lavender
#8D5EB7
ΔE00 5.31
Slate Blue
#6A5ACD
ΔE00 5.74
Mediumpurple
#9370DB
ΔE00 5.87
Mediumslateblue
#7B68EE
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875ED2 #A9D25E
analogous
#5E6FD2 #875ED2 #C15ED2
triadic
#875ED2 #D2875E #5ED287
tetradic
#875ED2 #D25E6F #A9D25E #5ED2C1
square
#875ED2 #D25E6F #A9D25E #5ED2C1
split-complementary
#875ED2 #D2C15E #6FD25E
monochromatic
#4C288E #6535BE #875ED2 #AB8EDF #CEBEED
Accessibility & contrast
On white
4.60
#875ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#875ED2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #875ED2
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##875ED2 | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A76D6
Deuteranopia (green-blind)
#3774CF
Tritanopia (blue-blind)
#76768F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #875ed2; /* rgb */ color: rgb(135, 94, 210); /* oklch */ color: oklch(58.0% 0.172 297.0);
Tailwind
colors: {
custom: {
50: '#ae8de0',
500: '#875ed2',
950: '#000000',
},
}SCSS
$custom: #875ed2; $custom-light: #ae8de0; $custom-dark: #000000;
JSON
{
"hex": "#875ed2",
"rgb": {
"r": 135,
"g": 94,
"b": 210
},
"hsl": {
"h": 261.207,
"s": 56.311,
"l": 59.608
},
"oklch": {
"l": 0.58007,
"c": 0.17233,
"h": 297
},
"luminance": 0.17809
}Semantic roles & 50–950 ramp
primary
#875ED2
secondary
#CCDCAF
accent
#E048AA
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83