#A17CBF#A17CBF
#A17CBF is a light, moderate violet. Relative luminance 0.258; OKLCH L 64.7% C 0.105 H 309.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A17CBF |
|---|---|
| RGB | rgb(161, 124, 191) |
| HSL | hsl(273, 34%, 62%) |
| HSV | hsv(273, 35%, 75%) |
| CMYK | cmyk(15.7%, 35.1%, 0%, 25.1%) |
| CIE-LAB | lab(57.80, 27.19, -29.68) |
| CIE-LCH | lch(57.80, 40.26, 312.49°) |
| OKLab | oklab(64.7% 0.0662 -0.0818) |
| OKLCH | oklch(64.7% 0.105 309) |
| XYZ | xyz(31.3078, 25.7543, 52.6019) |
| Luminance | 0.2575 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 1.53
Soft Purple
#A66FB5
ΔE00 4.63
Deep Lilac
#966EBD
ΔE00 4.96
Dark Lilac
#9C6DA5
ΔE00 6.46
Pale Purple
#B790D4
ΔE00 6.68
Heather
#A484AC
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17CBF #9ABF7C
analogous
#807CBF #A17CBF #BF7CBC
triadic
#A17CBF #BFA17C #7CBFA1
tetradic
#A17CBF #BF807C #9ABF7C #7CBCBF
square
#A17CBF #BF807C #9ABF7C #7CBCBF
split-complementary
#A17CBF #BCBF7C #7CBF80
monochromatic
#643F81 #8353AB #A17CBF #BFA5D3 #DCCEE7
Accessibility & contrast
On white
3.41
#A17CBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#A17CBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17CBF
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17CBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17CBF | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F89C2
Deuteranopia (green-blind)
#778BBD
Tritanopia (blue-blind)
#9D8695
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a17cbf; /* rgb */ color: rgb(161, 124, 191); /* oklch */ color: oklch(64.7% 0.105 309.0);
Tailwind
colors: {
custom: {
50: '#bea2d2',
500: '#a17cbf',
950: '#000000',
},
}SCSS
$custom: #a17cbf; $custom-light: #bea2d2; $custom-dark: #000000;
JSON
{
"hex": "#a17cbf",
"rgb": {
"r": 161,
"g": 124,
"b": 191
},
"hsl": {
"h": 273.134,
"s": 34.359,
"l": 61.765
},
"oklch": {
"l": 0.64704,
"c": 0.10527,
"h": 309
},
"luminance": 0.25754
}Semantic roles & 50–950 ramp
primary
#A17CBF
secondary
#CAD8BF
accent
#AD386D
background
#FBFAFC
surface
#F7F3F9
border
#D0CDD2
text
#120F14
muted
#817F82