#A662F5#A662F5
#A662F5 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.0% C 0.213 H 302.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A662F5 |
|---|---|
| RGB | rgb(166, 98, 245) |
| HSL | hsl(268, 88%, 67%) |
| HSV | hsv(268, 60%, 96%) |
| CMYK | cmyk(32.2%, 60%, 0%, 3.9%) |
| CIE-LAB | lab(55.52, 55.40, -63.67) |
| CIE-LCH | lch(55.52, 84.40, 311.03°) |
| OKLab | oklab(64.03% 0.1129 -0.1805) |
| OKLCH | oklch(64.03% 0.213 302) |
| XYZ | xyz(36.5711, 23.4348, 88.9652) |
| Luminance | 0.2344 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.85
Light Urple
#B36FF6
ΔE00 4.03
Lightish Purple
#A552E6
ΔE00 4.44
Bright Lavender
#C760FF
ΔE00 5.62
Mediumpurple
#9370DB
ΔE00 5.74
Bright Lilac
#C95EFB
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A662F5 #B1F562
analogous
#6268F5 #A662F5 #EF62F5
triadic
#A662F5 #F5A662 #62F5A6
tetradic
#A662F5 #F56268 #B1F562 #62F5EF
square
#A662F5 #F56268 #B1F562 #62F5EF
split-complementary
#A662F5 #F5EF62 #68F562
monochromatic
#670DCF #8528F1 #A662F5 #C79CF9 #E7D5FC
Accessibility & contrast
On white
3.69
#A662F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#A662F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A662F5
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A662F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A662F5 | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0084FA
Deuteranopia (green-blind)
#3684F2
Tritanopia (blue-blind)
#9681A2
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a662f5; /* rgb */ color: rgb(166, 98, 245); /* oklch */ color: oklch(64.0% 0.213 302.0);
Tailwind
colors: {
custom: {
50: '#c592f9',
500: '#a662f5',
950: '#000000',
},
}SCSS
$custom: #a662f5; $custom-light: #c592f9; $custom-dark: #000000;
JSON
{
"hex": "#a662f5",
"rgb": {
"r": 166,
"g": 98,
"b": 245
},
"hsl": {
"h": 267.755,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.64028,
"c": 0.21286,
"h": 302
},
"luminance": 0.23435
}Semantic roles & 50–950 ramp
primary
#A662F5
secondary
#DBF1C2
accent
#E5017B
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85