#A662F3#A662F3
#A662F3 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.9% C 0.211 H 302.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A662F3 |
|---|---|
| RGB | rgb(166, 98, 243) |
| HSL | hsl(268, 86%, 67%) |
| HSV | hsv(268, 60%, 95%) |
| CMYK | cmyk(31.7%, 59.7%, 0%, 4.7%) |
| CIE-LAB | lab(55.39, 54.93, -62.76) |
| CIE-LCH | lch(55.39, 83.40, 311.19°) |
| OKLab | oklab(63.9% 0.1129 -0.1778) |
| OKLCH | oklch(63.9% 0.211 302.4) |
| XYZ | xyz(36.2675, 23.3134, 87.3659) |
| Luminance | 0.2331 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.82
Light Urple
#B36FF6
ΔE00 4.04
Lightish Purple
#A552E6
ΔE00 4.28
Mediumpurple
#9370DB
ΔE00 5.63
Bright Lavender
#C760FF
ΔE00 5.64
Bright Lilac
#C95EFB
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A662F3 #AFF362
analogous
#6267F3 #A662F3 #EF62F3
triadic
#A662F3 #F3A662 #62F3A6
tetradic
#A662F3 #F36267 #AFF362 #62F3EF
square
#A662F3 #F36267 #AFF362 #62F3EF
split-complementary
#A662F3 #F3EF62 #67F362
monochromatic
#6710CB #8629EF #A662F3 #C69BF7 #E6D4FC
Accessibility & contrast
On white
3.71
#A662F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#A662F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A662F3
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A662F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A662F3 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A83F8
Deuteranopia (green-blind)
#3984F0
Tritanopia (blue-blind)
#9780A1
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a662f3; /* rgb */ color: rgb(166, 98, 243); /* oklch */ color: oklch(63.9% 0.211 302.4);
Tailwind
colors: {
custom: {
50: '#c592f8',
500: '#a662f3',
950: '#000000',
},
}SCSS
$custom: #a662f3; $custom-light: #c592f8; $custom-dark: #000000;
JSON
{
"hex": "#a662f3",
"rgb": {
"r": 166,
"g": 98,
"b": 243
},
"hsl": {
"h": 268.138,
"s": 85.799,
"l": 66.863
},
"oklch": {
"l": 0.63898,
"c": 0.21063,
"h": 302.4
},
"luminance": 0.23313
}Semantic roles & 50–950 ramp
primary
#A662F3
secondary
#DAF0C1
accent
#E2037A
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85