#A17FC9#A17FC9
#A17FC9 is a light, moderate violet. Relative luminance 0.270; OKLCH L 65.7% C 0.113 H 304.6°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A17FC9 |
|---|---|
| RGB | rgb(161, 127, 201) |
| HSL | hsl(268, 41%, 64%) |
| HSV | hsv(268, 37%, 79%) |
| CMYK | cmyk(19.9%, 36.8%, 0%, 21.2%) |
| CIE-LAB | lab(58.95, 27.75, -33.57) |
| CIE-LCH | lch(58.95, 43.56, 309.58°) |
| OKLab | oklab(65.72% 0.0641 -0.093) |
| OKLCH | oklch(65.72% 0.113 304.6) |
| XYZ | xyz(32.8278, 26.9730, 58.7239) |
| Luminance | 0.2697 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.75
Deep Lilac
#966EBD
ΔE00 5.48
Pale Purple
#B790D4
ΔE00 6.06
Soft Purple
#A66FB5
ΔE00 6.36
Mediumpurple
#9370DB
ΔE00 7.18
Heather
#A484AC
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17FC9 #A7C97F
analogous
#7F82C9 #A17FC9 #C67FC9
triadic
#A17FC9 #C9A17F #7FC9A1
tetradic
#A17FC9 #C97F82 #A7C97F #7FC9C6
square
#A17FC9 #C97F82 #A7C97F #7FC9C6
split-complementary
#A17FC9 #C9C67F #82C97F
monochromatic
#633D91 #8154B7 #A17FC9 #C1AADB #E0D5ED
Accessibility & contrast
On white
3.28
#A17FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#A17FC9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17FC9
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17FC9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17FC9 | 1.00 | 3.28 | 6.39 | 6.39 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F8DCC
Deuteranopia (green-blind)
#768EC7
Tritanopia (blue-blind)
#9B8A9B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a17fc9; /* rgb */ color: rgb(161, 127, 201); /* oklch */ color: oklch(65.7% 0.113 304.6);
Tailwind
colors: {
custom: {
50: '#bea4d9',
500: '#a17fc9',
950: '#000000',
},
}SCSS
$custom: #a17fc9; $custom-light: #bea4d9; $custom-dark: #000000;
JSON
{
"hex": "#a17fc9",
"rgb": {
"r": 161,
"g": 127,
"b": 201
},
"hsl": {
"h": 267.568,
"s": 40.659,
"l": 64.314
},
"oklch": {
"l": 0.65716,
"c": 0.11296,
"h": 304.6
},
"luminance": 0.26973
}Semantic roles & 50–950 ramp
primary
#A17FC9
secondary
#D3DFC5
accent
#B43278
background
#FBFAFD
surface
#F7F4FA
border
#D0CED3
text
#120F14
muted
#817F83