#A665EC#A665EC
#A665EC is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.9% C 0.198 H 303.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A665EC |
|---|---|
| RGB | rgb(166, 101, 236) |
| HSL | hsl(269, 78%, 66%) |
| HSV | hsv(269, 57%, 93%) |
| CMYK | cmyk(29.7%, 57.2%, 0%, 7.5%) |
| CIE-LAB | lab(55.55, 51.72, -58.59) |
| CIE-LCH | lch(55.55, 78.15, 311.43°) |
| OKLab | oklab(63.88% 0.1094 -0.1656) |
| OKLCH | oklch(63.88% 0.198 303.5) |
| XYZ | xyz(35.5165, 23.4705, 81.9998) |
| Luminance | 0.2347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.67
Light Urple
#B36FF6
ΔE00 3.65
Lightish Purple
#A552E6
ΔE00 4.54
Mediumpurple
#9370DB
ΔE00 4.89
Bright Lavender
#C760FF
ΔE00 5.72
Easter Purple
#C071FE
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A665EC #ABEC65
analogous
#6567EC #A665EC #EA65EC
triadic
#A665EC #ECA665 #65ECA6
tetradic
#A665EC #EC6567 #ABEC65 #65ECEA
square
#A665EC #EC6567 #ABEC65 #65ECEA
split-complementary
#A665EC #ECEA65 #67EC65
monochromatic
#6818BF #872FE5 #A665EC #C59BF3 #E5D2F9
Accessibility & contrast
On white
3.69
#A665EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#A665EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A665EC
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A665EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A665EC | 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)
#2A84F0
Deuteranopia (green-blind)
#4685E9
Tritanopia (blue-blind)
#99809F
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a665ec; /* rgb */ color: rgb(166, 101, 236); /* oklch */ color: oklch(63.9% 0.198 303.5);
Tailwind
colors: {
custom: {
50: '#c493f3',
500: '#a665ec',
950: '#000000',
},
}SCSS
$custom: #a665ec; $custom-light: #c493f3; $custom-dark: #000000;
JSON
{
"hex": "#a665ec",
"rgb": {
"r": 166,
"g": 101,
"b": 236
},
"hsl": {
"h": 268.889,
"s": 78.035,
"l": 66.078
},
"oklch": {
"l": 0.6388,
"c": 0.19848,
"h": 303.5
},
"luminance": 0.2347
}Semantic roles & 50–950 ramp
primary
#A665EC
secondary
#D7EDC0
accent
#DA0B77
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85