#A668EF#A668EF
#A668EF is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.5% C 0.198 H 302.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A668EF |
|---|---|
| RGB | rgb(166, 104, 239) |
| HSL | hsl(268, 81%, 67%) |
| HSV | hsv(268, 56%, 94%) |
| CMYK | cmyk(30.5%, 56.5%, 0%, 6.3%) |
| CIE-LAB | lab(56.33, 50.85, -59.03) |
| CIE-LCH | lch(56.33, 77.91, 310.75°) |
| OKLab | oklab(64.5% 0.1058 -0.1669) |
| OKLCH | oklch(64.5% 0.198 302.4) |
| XYZ | xyz(36.2526, 24.2396, 84.4134) |
| Luminance | 0.2424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.04
Lighter Purple
#A55AF4
ΔE00 3.24
Mediumpurple
#9370DB
ΔE00 4.70
Easter Purple
#C071FE
ΔE00 5.35
Lightish Purple
#A552E6
ΔE00 5.37
Bright Lavender
#C760FF
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A668EF #B1EF68
analogous
#686DEF #A668EF #EA68EF
triadic
#A668EF #EFA668 #68EFA6
tetradic
#A668EF #EF686D #B1EF68 #68EFEA
square
#A668EF #EF686D #B1EF68 #68EFEA
split-complementary
#A668EF #EFEA68 #6DEF68
monochromatic
#6715C7 #8531E9 #A668EF #C79FF5 #E7D7FB
Accessibility & contrast
On white
3.59
#A668EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#A668EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A668EF
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A668EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A668EF | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E86F3
Deuteranopia (green-blind)
#4787EC
Tritanopia (blue-blind)
#9883A2
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a668ef; /* rgb */ color: rgb(166, 104, 239); /* oklch */ color: oklch(64.5% 0.198 302.4);
Tailwind
colors: {
custom: {
50: '#c495f5',
500: '#a668ef',
950: '#000000',
},
}SCSS
$custom: #a668ef; $custom-light: #c495f5; $custom-dark: #000000;
JSON
{
"hex": "#a668ef",
"rgb": {
"r": 166,
"g": 104,
"b": 239
},
"hsl": {
"h": 267.556,
"s": 80.838,
"l": 67.255
},
"oklch": {
"l": 0.64503,
"c": 0.19758,
"h": 302.4
},
"luminance": 0.2424
}Semantic roles & 50–950 ramp
primary
#A668EF
secondary
#DBEFC4
accent
#DD087B
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85