#A786DF#A786DF
#A786DF is a light, vivid violet. Relative luminance 0.306; OKLCH L 68.6% C 0.132 H 300.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A786DF |
|---|---|
| RGB | rgb(167, 134, 223) |
| HSL | hsl(262, 58%, 70%) |
| HSV | hsv(262, 40%, 87%) |
| CMYK | cmyk(25.1%, 39.9%, 0%, 12.5%) |
| CIE-LAB | lab(62.16, 30.71, -40.85) |
| CIE-LCH | lch(62.16, 51.11, 306.94°) |
| OKLab | oklab(68.61% 0.0659 -0.1139) |
| OKLCH | oklch(68.61% 0.132 300) |
| XYZ | xyz(37.7777, 30.5932, 73.7126) |
| Luminance | 0.3059 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 5.93
Wisteria
#A87DC2
ΔE00 6.20
Liliac
#C48EFD
ΔE00 6.25
Light Purple
#BF77F6
ΔE00 6.82
Perrywinkle
#8F8CE7
ΔE00 6.82
Mediumpurple
#9370DB
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A786DF #BEDF86
analogous
#8692DF #A786DF #D386DF
triadic
#A786DF #DFA786 #86DFA7
tetradic
#A786DF #DF8692 #BEDF86 #86DFD3
square
#A786DF #DF8692 #BEDF86 #86DFD3
split-complementary
#A786DF #DFD386 #92DF86
monochromatic
#6431BA #8456D2 #A786DF #CAB6EC #EDE7F9
Accessibility & contrast
On white
2.95
#A786DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#A786DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A786DF
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A786DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786DF | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F96E2
Deuteranopia (green-blind)
#7596DD
Tritanopia (blue-blind)
#9D95A8
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #a786df; /* rgb */ color: rgb(167, 134, 223); /* oklch */ color: oklch(68.6% 0.132 300.0);
Tailwind
colors: {
custom: {
50: '#c3a9e9',
500: '#a786df',
950: '#000000',
},
}SCSS
$custom: #a786df; $custom-light: #c3a9e9; $custom-dark: #000000;
JSON
{
"hex": "#a786df",
"rgb": {
"r": 167,
"g": 134,
"b": 223
},
"hsl": {
"h": 262.247,
"s": 58.17,
"l": 70
},
"oklch": {
"l": 0.68609,
"c": 0.13154,
"h": 300
},
"luminance": 0.30593
}Semantic roles & 50–950 ramp
primary
#A786DF
secondary
#E4EDD4
accent
#C62088
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84