#A17CD6#A17CD6
#A17CD6 is a light, vivid violet. Relative luminance 0.268; OKLCH L 65.8% C 0.135 H 301.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #A17CD6 |
|---|---|
| RGB | rgb(161, 124, 214) |
| HSL | hsl(265, 52%, 66%) |
| HSV | hsv(265, 42%, 84%) |
| CMYK | cmyk(24.8%, 42.1%, 0%, 16.1%) |
| CIE-LAB | lab(58.83, 32.52, -41.08) |
| CIE-LCH | lch(58.83, 52.40, 308.36°) |
| OKLab | oklab(65.82% 0.071 -0.1147) |
| OKLCH | oklch(65.82% 0.135 301.8) |
| XYZ | xyz(34.0405, 26.8474, 66.9940) |
| Luminance | 0.2685 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.82
Wisteria
#A87DC2
ΔE00 5.12
Deep Lilac
#966EBD
ΔE00 5.72
Light Urple
#B36FF6
ΔE00 6.56
Light Purple
#BF77F6
ΔE00 6.86
Pale Purple
#B790D4
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17CD6 #B1D67C
analogous
#7C84D6 #A17CD6 #CE7CD6
triadic
#A17CD6 #D6A17C #7CD6A1
tetradic
#A17CD6 #D67C84 #B1D67C #7CD6CE
square
#A17CD6 #D67C84 #B1D67C #7CD6CE
split-complementary
#A17CD6 #D6CE7C #84D67C
monochromatic
#6233A4 #804DC7 #A17CD6 #C2ABE5 #E4D9F3
Accessibility & contrast
On white
3.30
#A17CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#A17CD6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17CD6
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17CD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17CD6 | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#648DD9
Deuteranopia (green-blind)
#6C8DD4
Tritanopia (blue-blind)
#988B9F
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a17cd6; /* rgb */ color: rgb(161, 124, 214); /* oklch */ color: oklch(65.8% 0.135 301.8);
Tailwind
colors: {
custom: {
50: '#bea2e3',
500: '#a17cd6',
950: '#000000',
},
}SCSS
$custom: #a17cd6; $custom-light: #bea2e3; $custom-dark: #000000;
JSON
{
"hex": "#a17cd6",
"rgb": {
"r": 161,
"g": 124,
"b": 214
},
"hsl": {
"h": 264.667,
"s": 52.326,
"l": 66.275
},
"oklch": {
"l": 0.65821,
"c": 0.13487,
"h": 301.8
},
"luminance": 0.26847
}Semantic roles & 50–950 ramp
primary
#A17CD6
secondary
#DAE6C8
accent
#C02680
background
#FBFAFD
surface
#F7F3FB
border
#D0CDD4
text
#120F15
muted
#817F83