#A17CDC#A17CDC
#A17CDC is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.1% C 0.143 H 300.3°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A17CDC |
|---|---|
| RGB | rgb(161, 124, 220) |
| HSL | hsl(263, 58%, 67%) |
| HSV | hsv(263, 44%, 86%) |
| CMYK | cmyk(26.8%, 43.6%, 0%, 13.7%) |
| CIE-LAB | lab(59.12, 33.97, -44.00) |
| CIE-LCH | lch(59.12, 55.58, 307.67°) |
| OKLab | oklab(66.13% 0.072 -0.1231) |
| OKLCH | oklch(66.13% 0.143 300.3) |
| XYZ | xyz(34.8209, 27.1595, 71.1041) |
| Luminance | 0.2716 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.39
Light Urple
#B36FF6
ΔE00 5.86
Wisteria
#A87DC2
ΔE00 6.18
Light Purple
#BF77F6
ΔE00 6.35
Deep Lilac
#966EBD
ΔE00 6.45
Easter Purple
#C071FE
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17CDC #B7DC7C
analogous
#7C87DC #A17CDC #D17CDC
triadic
#A17CDC #DCA17C #7CDCA1
tetradic
#A17CDC #DC7C87 #B7DC7C #7CDCD1
square
#A17CDC #DC7C87 #B7DC7C #7CDCD1
split-complementary
#A17CDC #DCD17C #87DC7C
monochromatic
#602FAF #7E4CCF #A17CDC #C4ACE9 #E6DDF6
Accessibility & contrast
On white
3.26
#A17CDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.43
#A17CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17CDC
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17CDC | 1.00 | 3.26 | 6.43 | 6.43 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#618EE0
Deuteranopia (green-blind)
#698EDA
Tritanopia (blue-blind)
#968DA1
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a17cdc; /* rgb */ color: rgb(161, 124, 220); /* oklch */ color: oklch(66.1% 0.143 300.3);
Tailwind
colors: {
custom: {
50: '#bfa2e7',
500: '#a17cdc',
950: '#000000',
},
}SCSS
$custom: #a17cdc; $custom-light: #bfa2e7; $custom-dark: #000000;
JSON
{
"hex": "#a17cdc",
"rgb": {
"r": 161,
"g": 124,
"b": 220
},
"hsl": {
"h": 263.125,
"s": 57.831,
"l": 67.451
},
"oklch": {
"l": 0.66133,
"c": 0.14262,
"h": 300.3
},
"luminance": 0.2716
}Semantic roles & 50–950 ramp
primary
#A17CDC
secondary
#DDE9CB
accent
#C52086
background
#FBFAFE
surface
#F7F3FC
border
#D0CDD5
text
#120F16
muted
#817F84