#A258E6#A258E6
#A258E6 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.209 H 305.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A258E6 |
|---|---|
| RGB | rgb(162, 88, 230) |
| HSL | hsl(271, 74%, 62%) |
| HSV | hsv(271, 62%, 90%) |
| CMYK | cmyk(29.6%, 61.7%, 0%, 9.8%) |
| CIE-LAB | lab(52.26, 56.03, -60.55) |
| CIE-LCH | lch(52.26, 82.49, 312.78°) |
| OKLab | oklab(61.26% 0.12 -0.1714) |
| OKLCH | oklch(61.26% 0.209 305) |
| XYZ | xyz(32.6698, 20.3742, 77.0591) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.29
Lighter Purple
#A55AF4
ΔE00 2.14
Purpley
#8756E4
ΔE00 5.11
Mediumorchid
#BA55D3
ΔE00 6.05
Amethyst
#9B5FC0
ΔE00 6.20
Mediumpurple
#9370DB
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A258E6 #9CE658
analogous
#5B58E6 #A258E6 #E658E3
triadic
#A258E6 #E6A258 #58E6A2
tetradic
#A258E6 #E65B58 #9CE658 #58E3E6
square
#A258E6 #E65B58 #9CE658 #58E3E6
split-complementary
#A258E6 #E3E658 #58E65B
monochromatic
#6519AA #8423DE #A258E6 #C08DEE #DDC2F6
Accessibility & contrast
On white
4.14
#A258E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#A258E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A258E6
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A258E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A258E6 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#367DE3
Tritanopia (blue-blind)
#967597
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a258e6; /* rgb */ color: rgb(162, 88, 230); /* oklch */ color: oklch(61.3% 0.209 305.0);
Tailwind
colors: {
custom: {
50: '#c28bef',
500: '#a258e6',
950: '#000000',
},
}SCSS
$custom: #a258e6; $custom-light: #c28bef; $custom-dark: #000000;
JSON
{
"hex": "#a258e6",
"rgb": {
"r": 162,
"g": 88,
"b": 230
},
"hsl": {
"h": 271.268,
"s": 73.958,
"l": 62.353
},
"oklch": {
"l": 0.6126,
"c": 0.20919,
"h": 305
},
"luminance": 0.20374
}Semantic roles & 50–950 ramp
primary
#A258E6
secondary
#CCE7B3
accent
#D60F6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84