#A259EC#A259EC
#A259EC is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.214 H 303.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A259EC |
|---|---|
| RGB | rgb(162, 89, 236) |
| HSL | hsl(270, 79%, 64%) |
| HSV | hsv(270, 62%, 93%) |
| CMYK | cmyk(31.4%, 62.3%, 0%, 7.5%) |
| CIE-LAB | lab(52.82, 56.93, -63.01) |
| CIE-LCH | lch(52.82, 84.92, 312.10°) |
| OKLab | oklab(61.79% 0.1185 -0.1786) |
| OKLCH | oklch(61.79% 0.214 303.6) |
| XYZ | xyz(33.6095, 20.8823, 81.6007) |
| Luminance | 0.2088 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.25
Lightish Purple
#A552E6
ΔE00 1.89
Purpley
#8756E4
ΔE00 5.17
Light Urple
#B36FF6
ΔE00 6.43
Mediumpurple
#9370DB
ΔE00 6.55
Mediumorchid
#BA55D3
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A259EC #A3EC59
analogous
#5959EC #A259EC #EB59EC
triadic
#A259EC #ECA259 #59ECA2
tetradic
#A259EC #EC5959 #A3EC59 #59ECEB
square
#A259EC #EC5959 #A3EC59 #59ECEB
split-complementary
#A259EC #ECEB59 #59EC59
monochromatic
#6515B6 #8322E6 #A259EC #C190F2 #E0C7F9
Accessibility & contrast
On white
4.06
#A259EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#A259EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A259EC
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A259EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A259EC | 1.00 | 4.06 | 5.18 | 5.18 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#2E7EE9
Tritanopia (blue-blind)
#94789B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a259ec; /* rgb */ color: rgb(162, 89, 236); /* oklch */ color: oklch(61.8% 0.214 303.6);
Tailwind
colors: {
custom: {
50: '#c28cf3',
500: '#a259ec',
950: '#000000',
},
}SCSS
$custom: #a259ec; $custom-light: #c28cf3; $custom-dark: #000000;
JSON
{
"hex": "#a259ec",
"rgb": {
"r": 162,
"g": 89,
"b": 236
},
"hsl": {
"h": 269.796,
"s": 79.459,
"l": 63.725
},
"oklch": {
"l": 0.61789,
"c": 0.21436,
"h": 303.6
},
"luminance": 0.20882
}Semantic roles & 50–950 ramp
primary
#A259EC
secondary
#D1EAB6
accent
#DC0A73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85