#A875E5#A875E5
#A875E5 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.1% C 0.167 H 303.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A875E5 |
|---|---|
| RGB | rgb(168, 117, 229) |
| HSL | hsl(267, 68%, 68%) |
| HSV | hsv(267, 49%, 90%) |
| CMYK | cmyk(26.6%, 48.9%, 0%, 10.2%) |
| CIE-LAB | lab(58.70, 41.94, -49.65) |
| CIE-LCH | lch(58.70, 65.00, 310.19°) |
| OKLab | oklab(66.13% 0.0911 -0.1394) |
| OKLCH | oklch(66.13% 0.167 303.2) |
| XYZ | xyz(36.6495, 26.7046, 77.3373) |
| Luminance | 0.2671 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.19
Mediumpurple
#9370DB
ΔE00 4.33
Light Purple
#BF77F6
ΔE00 4.42
Easter Purple
#C071FE
ΔE00 4.99
Lighter Purple
#A55AF4
ΔE00 6.89
Bright Lavender
#C760FF
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A875E5 #B2E575
analogous
#757AE5 #A875E5 #E075E5
triadic
#A875E5 #E5A875 #75E5A8
tetradic
#A875E5 #E5757A #B2E575 #75E5E0
square
#A875E5 #E5757A #B2E575 #75E5E0
split-complementary
#A875E5 #E5E075 #7AE575
monochromatic
#6923BC #8842DB #A875E5 #C8A8EF #E9DCF8
Accessibility & contrast
On white
3.31
#A875E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#A875E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A875E5
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A875E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A875E5 | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#538CE9
Deuteranopia (green-blind)
#618DE2
Tritanopia (blue-blind)
#9D89A2
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a875e5; /* rgb */ color: rgb(168, 117, 229); /* oklch */ color: oklch(66.1% 0.167 303.2);
Tailwind
colors: {
custom: {
50: '#c49eee',
500: '#a875e5',
950: '#000000',
},
}SCSS
$custom: #a875e5; $custom-light: #c49eee; $custom-dark: #000000;
JSON
{
"hex": "#a875e5",
"rgb": {
"r": 168,
"g": 117,
"b": 229
},
"hsl": {
"h": 267.321,
"s": 68.293,
"l": 67.843
},
"oklch": {
"l": 0.66127,
"c": 0.16653,
"h": 303.2
},
"luminance": 0.26705
}Semantic roles & 50–950 ramp
primary
#A875E5
secondary
#DCECCA
accent
#D0157B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84