#A38FF8#A38FF8
#A38FF8 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.2% C 0.150 H 290.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A38FF8 |
|---|---|
| RGB | rgb(163, 143, 248) |
| HSL | hsl(251, 88%, 77%) |
| HSV | hsv(251, 42%, 97%) |
| CMYK | cmyk(34.3%, 42.3%, 0%, 2.7%) |
| CIE-LAB | lab(65.13, 30.74, -50.01) |
| CIE-LCH | lch(65.13, 58.71, 301.58°) |
| OKLab | oklab(71.16% 0.0535 -0.1406) |
| OKLCH | oklch(71.16% 0.15 290.8) |
| XYZ | xyz(41.8655, 34.2078, 93.1857) |
| Luminance | 0.3421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.30
Lavender Blue
#8B88F8
ΔE00 4.84
Periwinkle (survey)
#8E82FE
ΔE00 5.18
Periwinkle Blue
#8F99FB
ΔE00 6.19
Liliac
#C48EFD
ΔE00 6.72
Pastel Purple
#CAA0FF
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A38FF8 #E4F88F
analogous
#8FB0F8 #A38FF8 #D88FF8
triadic
#A38FF8 #F8A38F #8FF8A3
tetradic
#A38FF8 #F88FB0 #E4F88F #8FF8D8
square
#A38FF8 #F88FB0 #E4F88F #8FF8D8
split-complementary
#A38FF8 #F8D88F #B0F88F
monochromatic
#441CF1 #7455F4 #A38FF8 #D2C9FC #E7E2FD
Accessibility & contrast
On white
2.68
#A38FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#A38FF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A38FF8
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A38FF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A38FF8 | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6DA0FC
Deuteranopia (green-blind)
#6E9CF5
Tritanopia (blue-blind)
#8EA3B8
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a38ff8; /* rgb */ color: rgb(163, 143, 248); /* oklch */ color: oklch(71.2% 0.150 290.8);
Tailwind
colors: {
custom: {
50: '#c1b0fb',
500: '#a38ff8',
950: '#000000',
},
}SCSS
$custom: #a38ff8; $custom-light: #c1b0fb; $custom-dark: #000000;
JSON
{
"hex": "#a38ff8",
"rgb": {
"r": 163,
"g": 143,
"b": 248
},
"hsl": {
"h": 251.429,
"s": 88.235,
"l": 76.667
},
"oklch": {
"l": 0.71158,
"c": 0.1504,
"h": 290.8
},
"luminance": 0.34209
}Semantic roles & 50–950 ramp
primary
#A38FF8
secondary
#EFF5D6
accent
#E501B9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85