#A786BF#A786BF
#A786BF is a light, moderate violet. Relative luminance 0.290; OKLCH L 67.1% C 0.090 H 310.4°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A786BF |
|---|---|
| RGB | rgb(167, 134, 191) |
| HSL | hsl(275, 31%, 64%) |
| HSV | hsv(275, 30%, 75%) |
| CMYK | cmyk(12.6%, 29.8%, 0%, 25.1%) |
| CIE-LAB | lab(60.81, 23.40, -25.00) |
| CIE-LCH | lch(60.81, 34.24, 313.11°) |
| OKLab | oklab(67.13% 0.0583 -0.0684) |
| OKLCH | oklch(67.13% 0.09 310.4) |
| XYZ | xyz(33.8638, 29.0276, 53.0991) |
| Luminance | 0.2903 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.32
Pale Purple
#B790D4
ΔE00 4.58
Heather
#A484AC
ΔE00 4.70
Dusty Lavender
#AC86A8
ΔE00 6.98
Soft Purple
#A66FB5
ΔE00 7.10
Lavender
#B39DDB
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A786BF #9EBF86
analogous
#8A86BF #A786BF #BF86BA
triadic
#A786BF #BFA786 #86BFA7
tetradic
#A786BF #BF8A86 #9EBF86 #86BABF
square
#A786BF #BF8A86 #9EBF86 #86BABF
split-complementary
#A786BF #BABF86 #86BF8A
monochromatic
#6A4685 #8A5EAA #A786BF #C4AED4 #E1D6E9
Accessibility & contrast
On white
3.09
#A786BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#A786BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A786BF
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A786BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786BF | 1.00 | 3.09 | 6.81 | 6.81 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C91C1
Deuteranopia (green-blind)
#8393BD
Tritanopia (blue-blind)
#A48E9A
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a786bf; /* rgb */ color: rgb(167, 134, 191); /* oklch */ color: oklch(67.1% 0.090 310.4);
Tailwind
colors: {
custom: {
50: '#c1a9d2',
500: '#a786bf',
950: '#000000',
},
}SCSS
$custom: #a786bf; $custom-light: #c1a9d2; $custom-dark: #000000;
JSON
{
"hex": "#a786bf",
"rgb": {
"r": 167,
"g": 134,
"b": 191
},
"hsl": {
"h": 274.737,
"s": 30.811,
"l": 63.725
},
"oklch": {
"l": 0.67131,
"c": 0.08994,
"h": 310.4
},
"luminance": 0.29027
}Semantic roles & 50–950 ramp
primary
#A786BF
secondary
#CFDAC6
accent
#AA3C6A
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#121014
muted
#817F82