#A684E2#A684E2
#A684E2 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.3% C 0.139 H 299.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A684E2 |
|---|---|
| RGB | rgb(166, 132, 226) |
| HSL | hsl(262, 62%, 70%) |
| HSV | hsv(262, 42%, 89%) |
| CMYK | cmyk(26.5%, 41.6%, 0%, 11.4%) |
| CIE-LAB | lab(61.74, 32.29, -43.19) |
| CIE-LCH | lch(61.74, 53.92, 306.78°) |
| OKLab | oklab(68.31% 0.068 -0.1207) |
| OKLCH | oklch(68.31% 0.139 299.4) |
| XYZ | xyz(37.7015, 30.1003, 75.7604) |
| Luminance | 0.3010 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 6.25
Light Purple
#BF77F6
ΔE00 6.34
Mediumpurple
#9370DB
ΔE00 6.54
Perrywinkle
#8F8CE7
ΔE00 6.63
Wisteria
#A87DC2
ΔE00 6.68
Light Urple
#B36FF6
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A684E2 #C0E284
analogous
#8491E2 #A684E2 #D584E2
triadic
#A684E2 #E2A684 #84E2A6
tetradic
#A684E2 #E28491 #C0E284 #84E2D5
square
#A684E2 #E28491 #C0E284 #84E2D5
split-complementary
#A684E2 #E2D584 #91E284
monochromatic
#622DBF #8252D6 #A684E2 #CAB6EE #EDE6F9
Accessibility & contrast
On white
2.99
#A684E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#A684E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A684E2
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A684E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A684E2 | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A95E6
Deuteranopia (green-blind)
#7194E0
Tritanopia (blue-blind)
#9A94A8
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a684e2; /* rgb */ color: rgb(166, 132, 226); /* oklch */ color: oklch(68.3% 0.139 299.4);
Tailwind
colors: {
custom: {
50: '#c2a8eb',
500: '#a684e2',
950: '#000000',
},
}SCSS
$custom: #a684e2; $custom-light: #c2a8eb; $custom-dark: #000000;
JSON
{
"hex": "#a684e2",
"rgb": {
"r": 166,
"g": 132,
"b": 226
},
"hsl": {
"h": 261.702,
"s": 61.842,
"l": 70.196
},
"oklch": {
"l": 0.68314,
"c": 0.1385,
"h": 299.4
},
"luminance": 0.30101
}Semantic roles & 50–950 ramp
primary
#A684E2
secondary
#E5EED4
accent
#CA1C8B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84