#A254E6#A254E6
#A254E6 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.7% C 0.215 H 305.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A254E6 |
|---|---|
| RGB | rgb(162, 84, 230) |
| HSL | hsl(272, 74%, 62%) |
| HSV | hsv(272, 63%, 90%) |
| CMYK | cmyk(29.6%, 63.5%, 0%, 9.8%) |
| CIE-LAB | lab(51.54, 57.99, -61.71) |
| CIE-LCH | lch(51.54, 84.68, 313.22°) |
| OKLab | oklab(60.74% 0.1245 -0.1748) |
| OKLCH | oklch(60.74% 0.215 305.5) |
| XYZ | xyz(32.3504, 19.7354, 76.9526) |
| Luminance | 0.1973 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.61
Lighter Purple
#A55AF4
ΔE00 2.64
Purpley
#8756E4
ΔE00 4.91
Mediumorchid
#BA55D3
ΔE00 6.15
Amethyst
#9B5FC0
ΔE00 6.39
Electric Purple
#AA23FF
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A254E6 #98E654
analogous
#5954E6 #A254E6 #E654E1
triadic
#A254E6 #E6A254 #54E6A2
tetradic
#A254E6 #E65954 #98E654 #54E1E6
square
#A254E6 #E65954 #98E654 #54E1E6
split-complementary
#A254E6 #E1E654 #54E659
monochromatic
#6518A7 #8520DD #A254E6 #BF89EE #DCBFF6
Accessibility & contrast
On white
4.24
#A254E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#A254E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A254E6
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A254E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A254E6 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#2F7BE3
Tritanopia (blue-blind)
#967396
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a254e6; /* rgb */ color: rgb(162, 84, 230); /* oklch */ color: oklch(60.7% 0.215 305.5);
Tailwind
colors: {
custom: {
50: '#c288ef',
500: '#a254e6',
950: '#000000',
},
}SCSS
$custom: #a254e6; $custom-light: #c288ef; $custom-dark: #000000;
JSON
{
"hex": "#a254e6",
"rgb": {
"r": 162,
"g": 84,
"b": 230
},
"hsl": {
"h": 272.055,
"s": 74.49,
"l": 61.569
},
"oklch": {
"l": 0.60739,
"c": 0.2146,
"h": 305.5
},
"luminance": 0.19735
}Semantic roles & 50–950 ramp
primary
#A254E6
secondary
#C9E6B0
accent
#D70F6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84