#A17FCA#A17FCA
#A17FCA is a light, moderate violet. Relative luminance 0.270; OKLCH L 65.8% C 0.114 H 304.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A17FCA |
|---|---|
| RGB | rgb(161, 127, 202) |
| HSL | hsl(267, 41%, 65%) |
| HSV | hsv(267, 37%, 79%) |
| CMYK | cmyk(20.3%, 37.1%, 0%, 20.8%) |
| CIE-LAB | lab(58.99, 27.98, -34.07) |
| CIE-LCH | lch(58.99, 44.09, 309.40°) |
| OKLab | oklab(65.76% 0.0644 -0.0944) |
| OKLCH | oklch(65.76% 0.114 304.3) |
| XYZ | xyz(32.9458, 27.0202, 59.3454) |
| Luminance | 0.2702 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.91
Deep Lilac
#966EBD
ΔE00 5.50
Pale Purple
#B790D4
ΔE00 6.11
Soft Purple
#A66FB5
ΔE00 6.49
Mediumpurple
#9370DB
ΔE00 7.02
Heather
#A484AC
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17FCA #A8CA7F
analogous
#7F83CA #A17FCA #C67FCA
triadic
#A17FCA #CAA17F #7FCAA1
tetradic
#A17FCA #CA7F83 #A8CA7F #7FCAC6
square
#A17FCA #CA7F83 #A8CA7F #7FCAC6
split-complementary
#A17FCA #CAC67F #83CA7F
monochromatic
#633C92 #8154B8 #A17FCA #C1AADC #E1D6EE
Accessibility & contrast
On white
3.28
#A17FCA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#A17FCA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17FCA
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17FCA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17FCA | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E8DCD
Deuteranopia (green-blind)
#758EC8
Tritanopia (blue-blind)
#9B8B9B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a17fca; /* rgb */ color: rgb(161, 127, 202); /* oklch */ color: oklch(65.8% 0.114 304.3);
Tailwind
colors: {
custom: {
50: '#bea4da',
500: '#a17fca',
950: '#000000',
},
}SCSS
$custom: #a17fca; $custom-light: #bea4da; $custom-dark: #000000;
JSON
{
"hex": "#a17fca",
"rgb": {
"r": 161,
"g": 127,
"b": 202
},
"hsl": {
"h": 267.2,
"s": 41.436,
"l": 64.51
},
"oklch": {
"l": 0.65763,
"c": 0.11427,
"h": 304.3
},
"luminance": 0.2702
}Semantic roles & 50–950 ramp
primary
#A17FCA
secondary
#D4DFC5
accent
#B43179
background
#FBFAFD
surface
#F7F4FA
border
#D0CED3
text
#120F15
muted
#817F83