#A684E4#A684E4
#A684E4 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.4% C 0.141 H 299.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A684E4 |
|---|---|
| RGB | rgb(166, 132, 228) |
| HSL | hsl(261, 64%, 71%) |
| HSV | hsv(261, 42%, 89%) |
| CMYK | cmyk(27.2%, 42.1%, 0%, 10.6%) |
| CIE-LAB | lab(61.84, 32.77, -44.15) |
| CIE-LCH | lch(61.84, 54.98, 306.58°) |
| OKLab | oklab(68.42% 0.0683 -0.1235) |
| OKLCH | oklch(68.42% 0.141 299) |
| XYZ | xyz(37.9775, 30.2107, 77.2142) |
| Luminance | 0.3021 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 6.14
Light Purple
#BF77F6
ΔE00 6.23
Perrywinkle
#8F8CE7
ΔE00 6.49
Mediumpurple
#9370DB
ΔE00 6.50
Light Urple
#B36FF6
ΔE00 6.58
Wisteria
#A87DC2
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A684E4 #C2E484
analogous
#8492E4 #A684E4 #D684E4
triadic
#A684E4 #E4A684 #84E4A6
tetradic
#A684E4 #E48492 #C2E484 #84E4D6
square
#A684E4 #E48492 #C2E484 #84E4D6
split-complementary
#A684E4 #E4D684 #92E484
monochromatic
#612BC3 #8252D9 #A684E4 #CAB6EF #EDE6F9
Accessibility & contrast
On white
2.98
#A684E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#A684E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A684E4
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A684E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A684E4 | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6995E8
Deuteranopia (green-blind)
#7095E2
Tritanopia (blue-blind)
#9A95A9
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a684e4; /* rgb */ color: rgb(166, 132, 228); /* oklch */ color: oklch(68.4% 0.141 299.0);
Tailwind
colors: {
custom: {
50: '#c2a8ed',
500: '#a684e4',
950: '#000000',
},
}SCSS
$custom: #a684e4; $custom-light: #c2a8ed; $custom-dark: #000000;
JSON
{
"hex": "#a684e4",
"rgb": {
"r": 166,
"g": 132,
"b": 228
},
"hsl": {
"h": 261.25,
"s": 64,
"l": 70.588
},
"oklch": {
"l": 0.68417,
"c": 0.1411,
"h": 299
},
"luminance": 0.30211
}Semantic roles & 50–950 ramp
primary
#A684E4
secondary
#E6EFD5
accent
#CC1A8D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84