#A251CD#A251CD
#A251CD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.7% C 0.192 H 312.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A251CD |
|---|---|
| RGB | rgb(162, 81, 205) |
| HSL | hsl(279, 55%, 56%) |
| HSV | hsv(279, 60%, 80%) |
| CMYK | cmyk(21%, 60.5%, 0%, 19.6%) |
| CIE-LAB | lab(49.47, 53.89, -50.82) |
| CIE-LCH | lch(49.47, 74.07, 316.68°) |
| OKLab | oklab(58.75% 0.1289 -0.1428) |
| OKLCH | oklch(58.75% 0.192 312.1) |
| XYZ | xyz(28.8602, 17.9747, 59.6949) |
| Luminance | 0.1797 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.85
Amethyst
#9B5FC0
ΔE00 3.98
Mediumorchid
#BA55D3
ΔE00 5.04
Deep Lavender
#8D5EB7
ΔE00 5.67
Purply
#983FB2
ΔE00 6.37
Lighter Purple
#A55AF4
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A251CD #7CCD51
analogous
#6451CD #A251CD #CD51BA
triadic
#A251CD #CDA251 #51CDA2
tetradic
#A251CD #CD6451 #7CCD51 #51BACD
square
#A251CD #CD6451 #7CCD51 #51BACD
split-complementary
#A251CD #BACD51 #51CD64
monochromatic
#60257F #8332AF #A251CD #BB81DB #D5B0E8
Accessibility & contrast
On white
4.57
#A251CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#A251CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A251CD
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A251CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A251CD | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2371D1
Deuteranopia (green-blind)
#4877CA
Tritanopia (blue-blind)
#9D6887
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a251cd; /* rgb */ color: rgb(162, 81, 205); /* oklch */ color: oklch(58.7% 0.192 312.1);
Tailwind
colors: {
custom: {
50: '#c186dd',
500: '#a251cd',
950: '#000000',
},
}SCSS
$custom: #a251cd; $custom-light: #c186dd; $custom-dark: #000000;
JSON
{
"hex": "#a251cd",
"rgb": {
"r": 162,
"g": 81,
"b": 205
},
"hsl": {
"h": 279.194,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.58747,
"c": 0.19242,
"h": 312.1
},
"luminance": 0.17974
}Semantic roles & 50–950 ramp
primary
#A251CD
secondary
#B5D7A3
accent
#DF497D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83