#A253EC#A253EC
#A253EC is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.222 H 304.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A253EC |
|---|---|
| RGB | rgb(162, 83, 236) |
| HSL | hsl(271, 80%, 63%) |
| HSV | hsv(271, 65%, 93%) |
| CMYK | cmyk(31.4%, 64.8%, 0%, 7.5%) |
| CIE-LAB | lab(51.75, 59.85, -64.74) |
| CIE-LCH | lch(51.75, 88.16, 312.76°) |
| OKLab | oklab(61.02% 0.1251 -0.1837) |
| OKLCH | oklch(61.02% 0.222 304.3) |
| XYZ | xyz(33.1305, 19.9241, 81.4410) |
| Luminance | 0.1992 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.12
Lighter Purple
#A55AF4
ΔE00 2.17
Purpley
#8756E4
ΔE00 4.83
Electric Purple
#AA23FF
ΔE00 6.25
Neon Purple
#BC13FE
ΔE00 6.63
Mediumorchid
#BA55D3
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A253EC #9DEC53
analogous
#5553EC #A253EC #EC53EA
triadic
#A253EC #ECA253 #53ECA2
tetradic
#A253EC #EC5553 #9DEC53 #53EAEC
square
#A253EC #EC5553 #9DEC53 #53EAEC
split-complementary
#A253EC #EAEC53 #53EC55
monochromatic
#6514B1 #841CE6 #A253EC #C08AF2 #DEC1F8
Accessibility & contrast
On white
4.21
#A253EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#A253EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A253EC
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A253EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A253EC | 1.00 | 4.21 | 4.98 | 4.98 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#227BE9
Tritanopia (blue-blind)
#947499
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a253ec; /* rgb */ color: rgb(162, 83, 236); /* oklch */ color: oklch(61.0% 0.222 304.3);
Tailwind
colors: {
custom: {
50: '#c288f3',
500: '#a253ec',
950: '#000000',
},
}SCSS
$custom: #a253ec; $custom-light: #c288f3; $custom-dark: #000000;
JSON
{
"hex": "#a253ec",
"rgb": {
"r": 162,
"g": 83,
"b": 236
},
"hsl": {
"h": 270.98,
"s": 80.105,
"l": 62.549
},
"oklch": {
"l": 0.61018,
"c": 0.22226,
"h": 304.3
},
"luminance": 0.19924
}Semantic roles & 50–950 ramp
primary
#A253EC
secondary
#CCE9B2
accent
#DC096F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85