#A381DF#A381DF
#A381DF is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.4% C 0.139 H 299.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A381DF |
|---|---|
| RGB | rgb(163, 129, 223) |
| HSL | hsl(262, 59%, 69%) |
| HSV | hsv(262, 42%, 87%) |
| CMYK | cmyk(26.9%, 42.2%, 0%, 12.5%) |
| CIE-LAB | lab(60.62, 32.42, -43.30) |
| CIE-LCH | lch(60.62, 54.10, 306.82°) |
| OKLab | oklab(67.35% 0.068 -0.1211) |
| OKLCH | oklch(67.35% 0.139 299.3) |
| XYZ | xyz(36.2707, 28.8145, 73.4486) |
| Luminance | 0.2882 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 5.63
Wisteria
#A87DC2
ΔE00 6.40
Light Purple
#BF77F6
ΔE00 6.46
Light Urple
#B36FF6
ΔE00 6.47
Perrywinkle
#8F8CE7
ΔE00 6.75
Liliac
#C48EFD
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A381DF #BDDF81
analogous
#818EDF #A381DF #D281DF
triadic
#A381DF #DFA381 #81DFA3
tetradic
#A381DF #DF818E #BDDF81 #81DFD2
square
#A381DF #DF818E #BDDF81 #81DFD2
split-complementary
#A381DF #DFD281 #8EDF81
monochromatic
#602FB7 #7F50D3 #A381DF #C7B2EB #EAE3F8
Accessibility & contrast
On white
3.11
#A381DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.76
#A381DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A381DF
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A381DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A381DF | 1.00 | 3.11 | 6.76 | 6.76 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6792E2
Deuteranopia (green-blind)
#6E91DD
Tritanopia (blue-blind)
#9791A5
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #a381df; /* rgb */ color: rgb(163, 129, 223); /* oklch */ color: oklch(67.4% 0.139 299.3);
Tailwind
colors: {
custom: {
50: '#c0a6e9',
500: '#a381df',
950: '#000000',
},
}SCSS
$custom: #a381df; $custom-light: #c0a6e9; $custom-dark: #000000;
JSON
{
"hex": "#a381df",
"rgb": {
"r": 163,
"g": 129,
"b": 223
},
"hsl": {
"h": 261.702,
"s": 59.494,
"l": 69.02
},
"oklch": {
"l": 0.67353,
"c": 0.13886,
"h": 299.3
},
"luminance": 0.28815
}Semantic roles & 50–950 ramp
primary
#A381DF
secondary
#E2ECD0
accent
#C71E8A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F16
muted
#817F84