#A56BB7#A56BB7
#A56BB7 is a mid, vivid purple. Relative luminance 0.219; OKLCH L 61.8% C 0.128 H 317.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A56BB7 |
|---|---|
| RGB | rgb(165, 107, 183) |
| HSL | hsl(286, 35%, 57%) |
| HSV | hsv(286, 42%, 72%) |
| CMYK | cmyk(9.8%, 41.5%, 0%, 28.2%) |
| CIE-LAB | lab(53.96, 36.30, -31.05) |
| CIE-LCH | lch(53.96, 47.77, 319.46°) |
| OKLab | oklab(61.78% 0.0947 -0.0855) |
| OKLCH | oklch(61.78% 0.128 317.9) |
| XYZ | xyz(29.3208, 21.9345, 47.4798) |
| Luminance | 0.2193 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 1.47
Deep Lilac
#966EBD
ΔE00 4.22
Dark Lilac
#9C6DA5
ΔE00 4.22
Amethyst
#9B5FC0
ΔE00 5.24
Wisteria
#A87DC2
ΔE00 5.40
Deep Lavender
#8D5EB7
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56BB7 #7DB76B
analogous
#7F6BB7 #A56BB7 #B76BA3
triadic
#A56BB7 #B7A56B #6BB7A5
tetradic
#A56BB7 #B77F6B #7DB76B #6BA3B7
square
#A56BB7 #B77F6B #7DB76B #6BA3B7
split-complementary
#A56BB7 #A3B76B #6BB77F
monochromatic
#633771 #874B9A #A56BB7 #BE94CB #D7BDDF
Accessibility & contrast
On white
3.90
#A56BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#A56BB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56BB7
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56BB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56BB7 | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F7DBA
Deuteranopia (green-blind)
#6E83B5
Tritanopia (blue-blind)
#A57588
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #a56bb7; /* rgb */ color: rgb(165, 107, 183); /* oklch */ color: oklch(61.8% 0.128 317.9);
Tailwind
colors: {
custom: {
50: '#c196cd',
500: '#a56bb7',
950: '#000000',
},
}SCSS
$custom: #a56bb7; $custom-light: #c196cd; $custom-dark: #000000;
JSON
{
"hex": "#a56bb7",
"rgb": {
"r": 165,
"g": 107,
"b": 183
},
"hsl": {
"h": 285.789,
"s": 34.545,
"l": 56.863
},
"oklch": {
"l": 0.61782,
"c": 0.12758,
"h": 317.9
},
"luminance": 0.21934
}Semantic roles & 50–950 ramp
primary
#A56BB7
secondary
#B7CEAF
accent
#CB5D77
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120D13
muted
#817E82