#A786BE#A786BE
#A786BE is a light, moderate violet. Relative luminance 0.290; OKLCH L 67.1% C 0.089 H 310.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A786BE |
|---|---|
| RGB | rgb(167, 134, 190) |
| HSL | hsl(275, 30%, 64%) |
| HSV | hsv(275, 29%, 75%) |
| CMYK | cmyk(12.1%, 29.5%, 0%, 25.5%) |
| CIE-LAB | lab(60.77, 23.18, -24.49) |
| CIE-LCH | lch(60.77, 33.73, 313.43°) |
| OKLab | oklab(67.09% 0.0581 -0.067) |
| OKLCH | oklch(67.09% 0.089 310.9) |
| XYZ | xyz(33.7541, 28.9838, 52.5215) |
| Luminance | 0.2898 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.46
Heather
#A484AC
ΔE00 4.45
Pale Purple
#B790D4
ΔE00 4.72
Dusty Lavender
#AC86A8
ΔE00 6.73
Soft Purple
#A66FB5
ΔE00 7.12
Lavender
#B39DDB
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A786BE #9DBE86
analogous
#8B86BE #A786BE #BE86B9
triadic
#A786BE #BEA786 #86BEA7
tetradic
#A786BE #BE8B86 #9DBE86 #86B9BE
square
#A786BE #BE8B86 #9DBE86 #86B9BE
split-complementary
#A786BE #B9BE86 #86BE8B
monochromatic
#6A4683 #8A5EA9 #A786BE #C4AED3 #E1D6E9
Accessibility & contrast
On white
3.09
#A786BE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.80
#A786BE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A786BE
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A786BE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786BE | 1.00 | 3.09 | 6.80 | 6.80 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D91C0
Deuteranopia (green-blind)
#8493BC
Tritanopia (blue-blind)
#A58D9A
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a786be; /* rgb */ color: rgb(167, 134, 190); /* oklch */ color: oklch(67.1% 0.089 310.9);
Tailwind
colors: {
custom: {
50: '#c1a9d1',
500: '#a786be',
950: '#000000',
},
}SCSS
$custom: #a786be; $custom-light: #c1a9d1; $custom-dark: #000000;
JSON
{
"hex": "#a786be",
"rgb": {
"r": 167,
"g": 134,
"b": 190
},
"hsl": {
"h": 275.357,
"s": 30.108,
"l": 63.529
},
"oklch": {
"l": 0.67088,
"c": 0.08867,
"h": 310.9
},
"luminance": 0.28983
}Semantic roles & 50–950 ramp
primary
#A786BE
secondary
#CEDAC6
accent
#A93D69
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#121014
muted
#817F82