#875FC2#875FC2
#875FC2 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.2% C 0.151 H 300.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #875FC2 |
|---|---|
| RGB | rgb(135, 95, 194) |
| HSL | hsl(264, 45%, 57%) |
| HSV | hsv(264, 51%, 76%) |
| CMYK | cmyk(30.4%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(48.55, 37.01, -46.13) |
| CIE-LCH | lch(48.55, 59.14, 308.74°) |
| OKLab | oklab(57.18% 0.0761 -0.13) |
| OKLCH | oklch(57.18% 0.151 300.4) |
| XYZ | xyz(23.8192, 17.2302, 53.0994) |
| Luminance | 0.1723 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.81
Amethyst
#9B5FC0
ΔE00 4.56
Purpley
#8756E4
ΔE00 5.75
Royal Purple
#7851A9
ΔE00 6.14
Deep Lilac
#966EBD
ΔE00 6.16
Light Indigo
#6D5ACF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875FC2 #9AC25F
analogous
#5F69C2 #875FC2 #B85FC2
triadic
#875FC2 #C2875F #5FC287
tetradic
#875FC2 #C25F69 #9AC25F #5FC2B8
square
#875FC2 #C25F69 #9AC25F #5FC2B8
split-complementary
#875FC2 #C2B85F #69C25F
monochromatic
#4C2E79 #683FA5 #875FC2 #A88BD3 #C9B8E4
Accessibility & contrast
On white
4.72
#875FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#875FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #875FC2
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##875FC2 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D73C5
Deuteranopia (green-blind)
#4873C0
Tritanopia (blue-blind)
#7B7287
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #875fc2; /* rgb */ color: rgb(135, 95, 194); /* oklch */ color: oklch(57.2% 0.151 300.4);
Tailwind
colors: {
custom: {
50: '#ad8dd5',
500: '#875fc2',
950: '#000000',
},
}SCSS
$custom: #875fc2; $custom-light: #ad8dd5; $custom-dark: #000000;
JSON
{
"hex": "#875fc2",
"rgb": {
"r": 135,
"g": 95,
"b": 194
},
"hsl": {
"h": 264.242,
"s": 44.796,
"l": 56.667
},
"oklch": {
"l": 0.57176,
"c": 0.15061,
"h": 300.4
},
"luminance": 0.1723
}Semantic roles & 50–950 ramp
primary
#875FC2
secondary
#C2D3AA
accent
#D453A0
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83