#A38DF2#A38DF2
#A38DF2 is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.5% C 0.145 H 292.3°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A38DF2 |
|---|---|
| RGB | rgb(163, 141, 242) |
| HSL | hsl(253, 80%, 75%) |
| HSV | hsv(253, 42%, 95%) |
| CMYK | cmyk(32.6%, 41.7%, 0%, 5.1%) |
| CIE-LAB | lab(64.36, 30.34, -47.93) |
| CIE-LCH | lch(64.36, 56.73, 302.33°) |
| OKLab | oklab(70.48% 0.0551 -0.1345) |
| OKLCH | oklch(70.48% 0.145 292.3) |
| XYZ | xyz(40.6520, 33.2463, 88.2626) |
| Luminance | 0.3325 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.26
Lavender Blue
#8B88F8
ΔE00 5.19
Periwinkle (survey)
#8E82FE
ΔE00 5.42
Liliac
#C48EFD
ΔE00 6.47
Periwinkle Blue
#8F99FB
ΔE00 6.92
Pastel Purple
#CAA0FF
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A38DF2 #DCF28D
analogous
#8DAAF2 #A38DF2 #D58DF2
triadic
#A38DF2 #F2A38D #8DF2A3
tetradic
#A38DF2 #F28DAA #DCF28D #8DF2D5
square
#A38DF2 #F28DAA #DCF28D #8DF2D5
split-complementary
#A38DF2 #F2D58D #AAF28D
monochromatic
#4A1FE5 #7756EC #A38DF2 #CFC4F8 #E9E4FC
Accessibility & contrast
On white
2.75
#A38DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#A38DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A38DF2
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A38DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A38DF2 | 1.00 | 2.75 | 7.65 | 7.65 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#709AF0
Tritanopia (blue-blind)
#90A0B4
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a38df2; /* rgb */ color: rgb(163, 141, 242); /* oklch */ color: oklch(70.5% 0.145 292.3);
Tailwind
colors: {
custom: {
50: '#c1aef7',
500: '#a38df2',
950: '#000000',
},
}SCSS
$custom: #a38df2; $custom-light: #c1aef7; $custom-dark: #000000;
JSON
{
"hex": "#a38df2",
"rgb": {
"r": 163,
"g": 141,
"b": 242
},
"hsl": {
"h": 253.069,
"s": 79.528,
"l": 75.098
},
"oklch": {
"l": 0.70482,
"c": 0.14536,
"h": 292.3
},
"luminance": 0.33247
}Semantic roles & 50–950 ramp
primary
#A38DF2
secondary
#EEF4D7
accent
#DC0AAE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85