#A38CD9#A38CD9
#A38CD9 is a light, moderate violet. Relative luminance 0.316; OKLCH L 69.0% C 0.113 H 297.1°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A38CD9 |
|---|---|
| RGB | rgb(163, 140, 217) |
| HSL | hsl(258, 50%, 70%) |
| HSV | hsv(258, 35%, 85%) |
| CMYK | cmyk(24.9%, 35.5%, 0%, 14.9%) |
| CIE-LAB | lab(62.97, 24.70, -36.27) |
| CIE-LCH | lch(62.97, 43.88, 304.26°) |
| OKLab | oklab(69.05% 0.0515 -0.1008) |
| OKLCH | oklch(69.05% 0.113 297.1) |
| XYZ | xyz(37.0038, 31.5521, 69.7728) |
| Luminance | 0.3155 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 5.39
Lavender
#B39DDB
ΔE00 5.72
Perrywinkle
#8F8CE7
ΔE00 6.15
Wisteria
#A87DC2
ΔE00 6.66
Liliac
#C48EFD
ΔE00 7.60
Lavender (survey)
#C79FEF
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A38CD9 #C2D98C
analogous
#8C9CD9 #A38CD9 #C98CD9
triadic
#A38CD9 #D9A38C #8CD9A3
tetradic
#A38CD9 #D98C9C #C2D98C #8CD9C9
square
#A38CD9 #D98C9C #C2D98C #8CD9C9
split-complementary
#A38CD9 #D9C98C #9CD98C
monochromatic
#5E3AB0 #7E5ECA #A38CD9 #C8BAE8 #EDE8F7
Accessibility & contrast
On white
2.87
#A38CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#A38CD9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A38CD9
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A38CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A38CD9 | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7999DC
Deuteranopia (green-blind)
#7C98D7
Tritanopia (blue-blind)
#9899A8
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a38cd9; /* rgb */ color: rgb(163, 140, 217); /* oklch */ color: oklch(69.0% 0.113 297.1);
Tailwind
colors: {
custom: {
50: '#bfade5',
500: '#a38cd9',
950: '#000000',
},
}SCSS
$custom: #a38cd9; $custom-light: #bfade5; $custom-dark: #000000;
JSON
{
"hex": "#a38cd9",
"rgb": {
"r": 163,
"g": 140,
"b": 217
},
"hsl": {
"h": 257.922,
"s": 50.327,
"l": 70
},
"oklch": {
"l": 0.6905,
"c": 0.11316,
"h": 297.1
},
"luminance": 0.31552
}Semantic roles & 50–950 ramp
primary
#A38CD9
secondary
#E5EBD6
accent
#BE2891
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121015
muted
#817F84