#A258EC#A258EC
#A258EC is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.216 H 303.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A258EC |
|---|---|
| RGB | rgb(162, 88, 236) |
| HSL | hsl(270, 80%, 64%) |
| HSV | hsv(270, 63%, 93%) |
| CMYK | cmyk(31.4%, 62.7%, 0%, 7.5%) |
| CIE-LAB | lab(52.64, 57.43, -63.30) |
| CIE-LCH | lch(52.64, 85.47, 312.21°) |
| OKLab | oklab(61.66% 0.1196 -0.1795) |
| OKLCH | oklch(61.66% 0.216 303.7) |
| XYZ | xyz(33.5269, 20.7170, 81.5731) |
| Luminance | 0.2072 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.36
Lightish Purple
#A552E6
ΔE00 1.72
Purpley
#8756E4
ΔE00 5.09
Mediumorchid
#BA55D3
ΔE00 6.63
Light Urple
#B36FF6
ΔE00 6.63
Mediumpurple
#9370DB
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A258EC #A2EC58
analogous
#5858EC #A258EC #EC58EC
triadic
#A258EC #ECA258 #58ECA2
tetradic
#A258EC #EC5858 #A2EC58 #58ECEC
square
#A258EC #EC5858 #A2EC58 #58ECEC
split-complementary
#A258EC #ECEC58 #58EC58
monochromatic
#6515B5 #8321E6 #A258EC #C18FF2 #DFC6F9
Accessibility & contrast
On white
4.08
#A258EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#A258EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A258EC
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A258EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A258EC | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#2C7DE9
Tritanopia (blue-blind)
#94789A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a258ec; /* rgb */ color: rgb(162, 88, 236); /* oklch */ color: oklch(61.7% 0.216 303.7);
Tailwind
colors: {
custom: {
50: '#c28bf3',
500: '#a258ec',
950: '#000000',
},
}SCSS
$custom: #a258ec; $custom-light: #c28bf3; $custom-dark: #000000;
JSON
{
"hex": "#a258ec",
"rgb": {
"r": 162,
"g": 88,
"b": 236
},
"hsl": {
"h": 270,
"s": 79.57,
"l": 63.529
},
"oklch": {
"l": 0.61658,
"c": 0.2157,
"h": 303.7
},
"luminance": 0.20717
}Semantic roles & 50–950 ramp
primary
#A258EC
secondary
#D0EAB6
accent
#DC0A73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85