#A38DFD#A38DFD
#A38DFD is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.1% C 0.160 H 290.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A38DFD |
|---|---|
| RGB | rgb(163, 141, 253) |
| HSL | hsl(252, 97%, 77%) |
| HSV | hsv(252, 44%, 99%) |
| CMYK | cmyk(35.6%, 44.3%, 0%, 0.8%) |
| CIE-LAB | lab(64.90, 33.18, -53.10) |
| CIE-LCH | lch(64.90, 62.61, 302.00°) |
| OKLab | oklab(71.07% 0.0568 -0.1496) |
| OKLCH | oklch(71.07% 0.16 290.8) |
| XYZ | xyz(42.3540, 33.9271, 97.2265) |
| Luminance | 0.3393 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.60
Lavender Blue
#8B88F8
ΔE00 4.60
Perrywinkle
#8F8CE7
ΔE00 4.72
Periwinkle Blue
#8F99FB
ΔE00 6.45
Liliac
#C48EFD
ΔE00 6.74
Pastel Purple
#CAA0FF
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A38DFD #E7FD8D
analogous
#8DAFFD #A38DFD #DB8DFD
triadic
#A38DFD #FDA38D #8DFDA3
tetradic
#A38DFD #FD8DAF #E7FD8D #8DFDDB
square
#A38DFD #FD8DAF #E7FD8D #8DFDDB
split-complementary
#A38DFD #FDDB8D #AFFD8D
monochromatic
#4215FB #7251FC #A38DFD #D4C9FE #E7E1FE
Accessibility & contrast
On white
2.70
#A38DFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#A38DFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A38DFD
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A38DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A38DFD | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#699BFA
Tritanopia (blue-blind)
#8CA3B9
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a38dfd; /* rgb */ color: rgb(163, 141, 253); /* oklch */ color: oklch(71.1% 0.160 290.8);
Tailwind
colors: {
custom: {
50: '#c2aefe',
500: '#a38dfd',
950: '#000000',
},
}SCSS
$custom: #a38dfd; $custom-light: #c2aefe; $custom-dark: #000000;
JSON
{
"hex": "#a38dfd",
"rgb": {
"r": 163,
"g": 141,
"b": 253
},
"hsl": {
"h": 251.786,
"s": 96.552,
"l": 77.255
},
"oklch": {
"l": 0.71071,
"c": 0.16001,
"h": 290.8
},
"luminance": 0.33928
}Semantic roles & 50–950 ramp
primary
#A38DFD
secondary
#F0F7D4
accent
#E600B8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86