#A662E7#A662E7
#A662E7 is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.1% C 0.197 H 305.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #A662E7 |
|---|---|
| RGB | rgb(166, 98, 231) |
| HSL | hsl(271, 73%, 65%) |
| HSV | hsv(271, 58%, 91%) |
| CMYK | cmyk(28.1%, 57.6%, 0%, 9.4%) |
| CIE-LAB | lab(54.67, 52.10, -57.21) |
| CIE-LCH | lch(54.67, 77.38, 312.32°) |
| OKLab | oklab(63.14% 0.1131 -0.1615) |
| OKLCH | oklch(63.14% 0.197 305) |
| XYZ | xyz(34.5142, 22.6121, 78.1321) |
| Luminance | 0.2261 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.50
Lightish Purple
#A552E6
ΔE00 3.68
Light Urple
#B36FF6
ΔE00 4.47
Mediumpurple
#9370DB
ΔE00 5.18
Mediumorchid
#BA55D3
ΔE00 5.97
Bright Lavender
#C760FF
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A662E7 #A3E762
analogous
#6462E7 #A662E7 #E762E5
triadic
#A662E7 #E7A662 #62E7A6
tetradic
#A662E7 #E76462 #A3E762 #62E5E7
square
#A662E7 #E76462 #A3E762 #62E5E7
split-complementary
#A662E7 #E5E762 #62E764
monochromatic
#691BB3 #882DDF #A662E7 #C497EF #E2CCF7
Accessibility & contrast
On white
3.80
#A662E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#A662E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A662E7
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A662E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A662E7 | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A81EB
Deuteranopia (green-blind)
#4783E4
Tritanopia (blue-blind)
#9B7C9B
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a662e7; /* rgb */ color: rgb(166, 98, 231); /* oklch */ color: oklch(63.1% 0.197 305.0);
Tailwind
colors: {
custom: {
50: '#c491ef',
500: '#a662e7',
950: '#000000',
},
}SCSS
$custom: #a662e7; $custom-light: #c491ef; $custom-dark: #000000;
JSON
{
"hex": "#a662e7",
"rgb": {
"r": 166,
"g": 98,
"b": 231
},
"hsl": {
"h": 270.677,
"s": 73.481,
"l": 64.51
},
"oklch": {
"l": 0.63139,
"c": 0.19716,
"h": 305
},
"luminance": 0.22612
}Semantic roles & 50–950 ramp
primary
#A662E7
secondary
#D2E9BB
accent
#D61071
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84