#A662E8#A662E8
#A662E8 is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.2% C 0.198 H 304.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #A662E8 |
|---|---|
| RGB | rgb(166, 98, 232) |
| HSL | hsl(270, 74%, 65%) |
| HSV | hsv(270, 58%, 91%) |
| CMYK | cmyk(28.4%, 57.8%, 0%, 9%) |
| CIE-LAB | lab(54.73, 52.34, -57.68) |
| CIE-LCH | lch(54.73, 77.88, 312.22°) |
| OKLab | oklab(63.2% 0.1131 -0.1629) |
| OKLCH | oklch(63.2% 0.198 304.8) |
| XYZ | xyz(34.6559, 22.6687, 78.8781) |
| Luminance | 0.2267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.40
Lightish Purple
#A552E6
ΔE00 3.70
Light Urple
#B36FF6
ΔE00 4.41
Mediumpurple
#9370DB
ΔE00 5.20
Bright Lavender
#C760FF
ΔE00 5.98
Mediumorchid
#BA55D3
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A662E8 #A4E862
analogous
#6362E8 #A662E8 #E862E7
triadic
#A662E8 #E8A662 #62E8A6
tetradic
#A662E8 #E86362 #A4E862 #62E7E8
square
#A662E8 #E86362 #A4E862 #62E7E8
split-complementary
#A662E8 #E7E862 #62E863
monochromatic
#691BB5 #882DE0 #A662E8 #C497F0 #E3CDF8
Accessibility & contrast
On white
3.79
#A662E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#A662E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A662E8
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A662E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A662E8 | 1.00 | 3.79 | 5.53 | 5.53 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2881EC
Deuteranopia (green-blind)
#4683E5
Tritanopia (blue-blind)
#9A7C9C
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a662e8; /* rgb */ color: rgb(166, 98, 232); /* oklch */ color: oklch(63.2% 0.198 304.8);
Tailwind
colors: {
custom: {
50: '#c491f0',
500: '#a662e8',
950: '#000000',
},
}SCSS
$custom: #a662e8; $custom-light: #c491f0; $custom-dark: #000000;
JSON
{
"hex": "#a662e8",
"rgb": {
"r": 166,
"g": 98,
"b": 232
},
"hsl": {
"h": 270.448,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.63201,
"c": 0.19829,
"h": 304.8
},
"luminance": 0.22669
}Semantic roles & 50–950 ramp
primary
#A662E8
secondary
#D3EABC
accent
#D70F71
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85