#A662F2#A662F2
#A662F2 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.8% C 0.209 H 302.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A662F2 |
|---|---|
| RGB | rgb(166, 98, 242) |
| HSL | hsl(268, 85%, 67%) |
| HSV | hsv(268, 60%, 95%) |
| CMYK | cmyk(31.4%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(55.33, 54.69, -62.30) |
| CIE-LCH | lch(55.33, 82.90, 311.28°) |
| OKLab | oklab(63.83% 0.113 -0.1764) |
| OKLCH | oklch(63.83% 0.21 302.6) |
| XYZ | xyz(36.1169, 23.2531, 86.5727) |
| Luminance | 0.2325 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.82
Light Urple
#B36FF6
ΔE00 4.05
Lightish Purple
#A552E6
ΔE00 4.21
Mediumpurple
#9370DB
ΔE00 5.57
Bright Lavender
#C760FF
ΔE00 5.66
Bright Lilac
#C95EFB
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A662F2 #AEF262
analogous
#6266F2 #A662F2 #EE62F2
triadic
#A662F2 #F2A662 #62F2A6
tetradic
#A662F2 #F26266 #AEF262 #62F2EE
square
#A662F2 #F26266 #AEF262 #62F2EE
split-complementary
#A662F2 #F2EE62 #66F262
monochromatic
#6811C9 #8629ED #A662F2 #C69BF7 #E6D3FB
Accessibility & contrast
On white
3.72
#A662F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#A662F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A662F2
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A662F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A662F2 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F83F7
Deuteranopia (green-blind)
#3A84EF
Tritanopia (blue-blind)
#9780A1
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a662f2; /* rgb */ color: rgb(166, 98, 242); /* oklch */ color: oklch(63.8% 0.209 302.6);
Tailwind
colors: {
custom: {
50: '#c592f7',
500: '#a662f2',
950: '#000000',
},
}SCSS
$custom: #a662f2; $custom-light: #c592f7; $custom-dark: #000000;
JSON
{
"hex": "#a662f2",
"rgb": {
"r": 166,
"g": 98,
"b": 242
},
"hsl": {
"h": 268.333,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.63834,
"c": 0.2095,
"h": 302.6
},
"luminance": 0.23253
}Semantic roles & 50–950 ramp
primary
#A662F2
secondary
#D9EFC1
accent
#E10479
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85