#A17CDF#A17CDF
#A17CDF is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.3% C 0.146 H 299.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A17CDF |
|---|---|
| RGB | rgb(161, 124, 223) |
| HSL | hsl(262, 61%, 68%) |
| HSV | hsv(262, 44%, 87%) |
| CMYK | cmyk(27.8%, 44.4%, 0%, 12.5%) |
| CIE-LAB | lab(59.27, 34.70, -45.44) |
| CIE-LCH | lch(59.27, 57.18, 307.37°) |
| OKLab | oklab(66.29% 0.0725 -0.1273) |
| OKLCH | oklch(66.29% 0.147 299.6) |
| XYZ | xyz(35.2218, 27.3199, 73.2154) |
| Luminance | 0.2732 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.27
Light Urple
#B36FF6
ΔE00 5.56
Light Purple
#BF77F6
ΔE00 6.15
Wisteria
#A87DC2
ΔE00 6.69
Deep Lilac
#966EBD
ΔE00 6.85
Easter Purple
#C071FE
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17CDF #BADF7C
analogous
#7C88DF #A17CDF #D27CDF
triadic
#A17CDF #DFA17C #7CDFA1
tetradic
#A17CDF #DF7C88 #BADF7C #7CDFD2
square
#A17CDF #DF7C88 #BADF7C #7CDFD2
split-complementary
#A17CDF #DFD27C #88DF7C
monochromatic
#5F2CB5 #7E4BD3 #A17CDF #C4ADEB #E8DEF7
Accessibility & contrast
On white
3.25
#A17CDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#A17CDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17CDF
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17CDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17CDF | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F8EE3
Deuteranopia (green-blind)
#678EDD
Tritanopia (blue-blind)
#958EA3
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a17cdf; /* rgb */ color: rgb(161, 124, 223); /* oklch */ color: oklch(66.3% 0.146 299.6);
Tailwind
colors: {
custom: {
50: '#bfa2e9',
500: '#a17cdf',
950: '#000000',
},
}SCSS
$custom: #a17cdf; $custom-light: #bfa2e9; $custom-dark: #000000;
JSON
{
"hex": "#a17cdf",
"rgb": {
"r": 161,
"g": 124,
"b": 223
},
"hsl": {
"h": 262.424,
"s": 60.736,
"l": 68.039
},
"oklch": {
"l": 0.66293,
"c": 0.1465,
"h": 299.6
},
"luminance": 0.2732
}Semantic roles & 50–950 ramp
primary
#A17CDF
secondary
#DFEBCC
accent
#C81D88
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F16
muted
#817F84