#875FC7#875FC7
#875FC7 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.5% C 0.157 H 299.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #875FC7 |
|---|---|
| RGB | rgb(135, 95, 199) |
| HSL | hsl(263, 48%, 58%) |
| HSV | hsv(263, 52%, 78%) |
| CMYK | cmyk(32.2%, 52.3%, 0%, 22%) |
| CIE-LAB | lab(48.83, 38.28, -48.56) |
| CIE-LCH | lch(48.83, 61.84, 308.25°) |
| OKLab | oklab(57.48% 0.0765 -0.1371) |
| OKLCH | oklch(57.48% 0.157 299.2) |
| XYZ | xyz(24.3902, 17.4586, 56.1066) |
| Luminance | 0.1746 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.60
Amethyst
#9B5FC0
ΔE00 4.92
Purpley
#8756E4
ΔE00 4.95
Light Indigo
#6D5ACF
ΔE00 5.78
Mediumpurple
#9370DB
ΔE00 6.22
Slate Blue
#6A5ACD
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875FC7 #9FC75F
analogous
#5F6BC7 #875FC7 #BB5FC7
triadic
#875FC7 #C7875F #5FC787
tetradic
#875FC7 #C75F6B #9FC75F #5FC7BB
square
#875FC7 #C75F6B #9FC75F #5FC7BB
split-complementary
#875FC7 #C7BB5F #6BC75F
monochromatic
#4C2C7F #673CAC #875FC7 #A98CD7 #CBBAE7
Accessibility & contrast
On white
4.68
#875FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#875FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #875FC7
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##875FC7 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3974CB
Deuteranopia (green-blind)
#4473C5
Tritanopia (blue-blind)
#7A738A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #875fc7; /* rgb */ color: rgb(135, 95, 199); /* oklch */ color: oklch(57.5% 0.157 299.2);
Tailwind
colors: {
custom: {
50: '#ad8dd8',
500: '#875fc7',
950: '#000000',
},
}SCSS
$custom: #875fc7; $custom-light: #ad8dd8; $custom-dark: #000000;
JSON
{
"hex": "#875fc7",
"rgb": {
"r": 135,
"g": 95,
"b": 199
},
"hsl": {
"h": 263.077,
"s": 48.148,
"l": 57.647
},
"oklch": {
"l": 0.57479,
"c": 0.15696,
"h": 299.2
},
"luminance": 0.17459
}Semantic roles & 50–950 ramp
primary
#875FC7
secondary
#C6D6AC
accent
#D850A4
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#110C14
muted
#807D83