#A662FB#A662FB
#A662FB is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.4% C 0.220 H 300.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A662FB |
|---|---|
| RGB | rgb(166, 98, 251) |
| HSL | hsl(267, 95%, 68%) |
| HSV | hsv(267, 61%, 98%) |
| CMYK | cmyk(33.9%, 61%, 0%, 1.6%) |
| CIE-LAB | lab(55.89, 56.84, -66.39) |
| CIE-LCH | lch(55.89, 87.40, 310.57°) |
| OKLab | oklab(64.42% 0.1126 -0.1885) |
| OKLCH | oklch(64.42% 0.22 300.9) |
| XYZ | xyz(37.5020, 23.8072, 93.8676) |
| Luminance | 0.2381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.18
Light Urple
#B36FF6
ΔE00 4.11
Lightish Purple
#A552E6
ΔE00 4.98
Bright Lavender
#C760FF
ΔE00 5.64
Easter Purple
#C071FE
ΔE00 6.01
Bright Lilac
#C95EFB
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A662FB #B7FB62
analogous
#626AFB #A662FB #F362FB
triadic
#A662FB #FBA662 #62FBA6
tetradic
#A662FB #FB626A #B7FB62 #62FBF3
square
#A662FB #FB626A #B7FB62 #62FBF3
split-complementary
#A662FB #FBF362 #6AFB62
monochromatic
#6506DD #8426F9 #A662FB #C89EFD #EAD9FE
Accessibility & contrast
On white
3.64
#A662FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#A662FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A662FB
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A662FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A662FB | 1.00 | 3.64 | 5.76 | 5.76 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#2C85F8
Tritanopia (blue-blind)
#9483A6
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a662fb; /* rgb */ color: rgb(166, 98, 251); /* oklch */ color: oklch(64.4% 0.220 300.9);
Tailwind
colors: {
custom: {
50: '#c592fd',
500: '#a662fb',
950: '#000000',
},
}SCSS
$custom: #a662fb; $custom-light: #c592fd; $custom-dark: #000000;
JSON
{
"hex": "#a662fb",
"rgb": {
"r": 166,
"g": 98,
"b": 251
},
"hsl": {
"h": 266.667,
"s": 95.031,
"l": 68.431
},
"oklch": {
"l": 0.64422,
"c": 0.21956,
"h": 300.9
},
"luminance": 0.23807
}Semantic roles & 50–950 ramp
primary
#A662FB
secondary
#DFF3C5
accent
#E6007F
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#130D18
muted
#827E86