#A251CE#A251CE
#A251CE is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.8% C 0.193 H 311.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A251CE |
|---|---|
| RGB | rgb(162, 81, 206) |
| HSL | hsl(279, 56%, 56%) |
| HSV | hsv(279, 61%, 81%) |
| CMYK | cmyk(21.4%, 60.7%, 0%, 19.2%) |
| CIE-LAB | lab(49.52, 54.10, -51.30) |
| CIE-LCH | lch(49.52, 74.56, 316.52°) |
| OKLab | oklab(58.81% 0.1289 -0.1442) |
| OKLCH | oklch(58.81% 0.193 311.8) |
| XYZ | xyz(28.9813, 18.0232, 60.3327) |
| Luminance | 0.1802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.69
Amethyst
#9B5FC0
ΔE00 4.06
Mediumorchid
#BA55D3
ΔE00 5.05
Deep Lavender
#8D5EB7
ΔE00 5.74
Lighter Purple
#A55AF4
ΔE00 6.31
Purply
#983FB2
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A251CE #7DCE51
analogous
#6451CE #A251CE #CE51BC
triadic
#A251CE #CEA251 #51CEA2
tetradic
#A251CE #CE6451 #7DCE51 #51BCCE
square
#A251CE #CE6451 #7DCE51 #51BCCE
split-complementary
#A251CE #BCCE51 #51CE64
monochromatic
#602480 #8432B0 #A251CE #BC81DB #D5B1E9
Accessibility & contrast
On white
4.56
#A251CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#A251CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A251CE
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A251CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A251CE | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2172D2
Deuteranopia (green-blind)
#4777CB
Tritanopia (blue-blind)
#9D6888
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a251ce; /* rgb */ color: rgb(162, 81, 206); /* oklch */ color: oklch(58.8% 0.193 311.8);
Tailwind
colors: {
custom: {
50: '#c186dd',
500: '#a251ce',
950: '#000000',
},
}SCSS
$custom: #a251ce; $custom-light: #c186dd; $custom-dark: #000000;
JSON
{
"hex": "#a251ce",
"rgb": {
"r": 162,
"g": 81,
"b": 206
},
"hsl": {
"h": 278.88,
"s": 56.054,
"l": 56.275
},
"oklch": {
"l": 0.58809,
"c": 0.19346,
"h": 311.8
},
"luminance": 0.18022
}Semantic roles & 50–950 ramp
primary
#A251CE
secondary
#B6D7A4
accent
#DF487E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83