#875FDA#875FDA
#875FDA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.181 H 295.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #875FDA |
|---|---|
| RGB | rgb(135, 95, 218) |
| HSL | hsl(260, 62%, 61%) |
| HSV | hsv(260, 56%, 85%) |
| CMYK | cmyk(38.1%, 56.4%, 0%, 14.5%) |
| CIE-LAB | lab(49.97, 43.24, -57.59) |
| CIE-LCH | lch(49.97, 72.01, 306.90°) |
| OKLab | oklab(58.69% 0.0772 -0.1635) |
| OKLCH | oklch(58.69% 0.181 295.3) |
| XYZ | xyz(26.7355, 18.3967, 68.4584) |
| Luminance | 0.1840 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.64
Mediumslateblue
#7B68EE
ΔE00 4.83
Light Indigo
#6D5ACF
ΔE00 5.29
Mediumpurple
#9370DB
ΔE00 5.47
Slate Blue
#6A5ACD
ΔE00 5.88
Lightish Purple
#A552E6
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875FDA #B2DA5F
analogous
#5F75DA #875FDA #C55FDA
triadic
#875FDA #DA875F #5FDA87
tetradic
#875FDA #DA5F75 #B2DA5F #5FDAC5
square
#875FDA #DA5F75 #B2DA5F #5FDAC5
split-complementary
#875FDA #DAC55F #75DA5F
monochromatic
#4A249B #622FCD #875FDA #AC91E5 #D2C2F1
Accessibility & contrast
On white
4.49
#875FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#875FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #875FDA
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##875FDA | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F78DE
Deuteranopia (green-blind)
#2E75D7
Tritanopia (blue-blind)
#737993
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #875fda; /* rgb */ color: rgb(135, 95, 218); /* oklch */ color: oklch(58.7% 0.181 295.3);
Tailwind
colors: {
custom: {
50: '#af8ee6',
500: '#875fda',
950: '#000000',
},
}SCSS
$custom: #875fda; $custom-light: #af8ee6; $custom-dark: #000000;
JSON
{
"hex": "#875fda",
"rgb": {
"r": 135,
"g": 95,
"b": 218
},
"hsl": {
"h": 259.512,
"s": 62.437,
"l": 61.373
},
"oklch": {
"l": 0.58689,
"c": 0.18084,
"h": 295.3
},
"luminance": 0.18397
}Semantic roles & 50–950 ramp
primary
#875FDA
secondary
#D2E1B3
accent
#CA1B91
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84