#A875EF#A875EF
#A875EF is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.179 H 301.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A875EF |
|---|---|
| RGB | rgb(168, 117, 239) |
| HSL | hsl(265, 79%, 70%) |
| HSV | hsv(265, 51%, 94%) |
| CMYK | cmyk(29.7%, 51%, 0%, 6.3%) |
| CIE-LAB | lab(59.23, 44.34, -54.37) |
| CIE-LCH | lch(59.23, 70.16, 309.20°) |
| OKLab | oklab(66.7% 0.092 -0.1532) |
| OKLCH | oklch(66.7% 0.179 301) |
| XYZ | xyz(38.0861, 27.2793, 84.9035) |
| Luminance | 0.2728 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.48
Light Purple
#BF77F6
ΔE00 4.23
Easter Purple
#C071FE
ΔE00 4.41
Mediumpurple
#9370DB
ΔE00 4.69
Lighter Purple
#A55AF4
ΔE00 6.50
Bright Lavender
#C760FF
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A875EF #BCEF75
analogous
#757FEF #A875EF #E575EF
triadic
#A875EF #EFA875 #75EFA8
tetradic
#A875EF #EF757F #BCEF75 #75EFE5
square
#A875EF #EF757F #BCEF75 #75EFE5
split-complementary
#A875EF #EFE575 #7FEF75
monochromatic
#6618D1 #853EE9 #A875EF #CBACF5 #EDE3FC
Accessibility & contrast
On white
3.25
#A875EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#A875EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A875EF
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A875EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A875EF | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B8EF3
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#9A8CA7
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a875ef; /* rgb */ color: rgb(168, 117, 239); /* oklch */ color: oklch(66.7% 0.179 301.0);
Tailwind
colors: {
custom: {
50: '#c59ef5',
500: '#a875ef',
950: '#000000',
},
}SCSS
$custom: #a875ef; $custom-light: #c59ef5; $custom-dark: #000000;
JSON
{
"hex": "#a875ef",
"rgb": {
"r": 168,
"g": 117,
"b": 239
},
"hsl": {
"h": 265.082,
"s": 79.221,
"l": 69.804
},
"oklch": {
"l": 0.66695,
"c": 0.1787,
"h": 301
},
"luminance": 0.27279
}Semantic roles & 50–950 ramp
primary
#A875EF
secondary
#E3F1CF
accent
#DC0A84
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85