#A451E2#A451E2
#A451E2 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.3% C 0.215 H 307.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A451E2 |
|---|---|
| RGB | rgb(164, 81, 226) |
| HSL | hsl(274, 71%, 60%) |
| HSV | hsv(274, 64%, 89%) |
| CMYK | cmyk(27.4%, 64.2%, 0%, 11.4%) |
| CIE-LAB | lab(51.00, 58.96, -60.30) |
| CIE-LCH | lch(51.00, 84.33, 314.35°) |
| OKLab | oklab(60.32% 0.1307 -0.1706) |
| OKLCH | oklch(60.32% 0.215 307.5) |
| XYZ | xyz(31.9769, 19.2688, 73.9714) |
| Luminance | 0.1927 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.68
Lighter Purple
#A55AF4
ΔE00 3.51
Purpley
#8756E4
ΔE00 5.35
Mediumorchid
#BA55D3
ΔE00 5.64
Amethyst
#9B5FC0
ΔE00 6.08
Electric Purple
#AA23FF
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A451E2 #8FE251
analogous
#5B51E2 #A451E2 #E251D7
triadic
#A451E2 #E2A451 #51E2A4
tetradic
#A451E2 #E25B51 #8FE251 #51D7E2
square
#A451E2 #E25B51 #8FE251 #51D7E2
split-complementary
#A451E2 #D7E251 #51E25B
monochromatic
#661A9E #8823D3 #A451E2 #BF85EB #DBBAF3
Accessibility & contrast
On white
4.33
#A451E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#A451E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A451E2
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A451E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A451E2 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#347ADF
Tritanopia (blue-blind)
#9A6F93
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #a451e2; /* rgb */ color: rgb(164, 81, 226); /* oklch */ color: oklch(60.3% 0.215 307.5);
Tailwind
colors: {
custom: {
50: '#c387ec',
500: '#a451e2',
950: '#000000',
},
}SCSS
$custom: #a451e2; $custom-light: #c387ec; $custom-dark: #000000;
JSON
{
"hex": "#a451e2",
"rgb": {
"r": 164,
"g": 81,
"b": 226
},
"hsl": {
"h": 274.345,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.60323,
"c": 0.2149,
"h": 307.5
},
"luminance": 0.19268
}Semantic roles & 50–950 ramp
primary
#A451E2
secondary
#C3E3AC
accent
#D31265
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84