#A38FF7#A38FF7
#A38FF7 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.1% C 0.149 H 291.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A38FF7 |
|---|---|
| RGB | rgb(163, 143, 247) |
| HSL | hsl(252, 87%, 76%) |
| HSV | hsv(252, 42%, 97%) |
| CMYK | cmyk(34%, 42.1%, 0%, 3.1%) |
| CIE-LAB | lab(65.08, 30.49, -49.54) |
| CIE-LCH | lch(65.08, 58.17, 301.61°) |
| OKLab | oklab(71.1% 0.0533 -0.1392) |
| OKLCH | oklch(71.1% 0.149 291) |
| XYZ | xyz(41.7108, 34.1459, 92.3709) |
| Luminance | 0.3415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.26
Lavender Blue
#8B88F8
ΔE00 4.90
Periwinkle (survey)
#8E82FE
ΔE00 5.25
Periwinkle Blue
#8F99FB
ΔE00 6.24
Liliac
#C48EFD
ΔE00 6.70
Pastel Purple
#CAA0FF
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A38FF7 #E3F78F
analogous
#8FAFF7 #A38FF7 #D78FF7
triadic
#A38FF7 #F7A38F #8FF7A3
tetradic
#A38FF7 #F78FAF #E3F78F #8FF7D7
square
#A38FF7 #F78FAF #E3F78F #8FF7D7
split-complementary
#A38FF7 #F7D78F #AFF78F
monochromatic
#451DEF #7456F3 #A38FF7 #D2C8FB #E8E2FD
Accessibility & contrast
On white
2.68
#A38FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#A38FF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A38FF7
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A38FF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A38FF7 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6DA0FB
Deuteranopia (green-blind)
#6F9CF4
Tritanopia (blue-blind)
#8EA3B7
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a38ff7; /* rgb */ color: rgb(163, 143, 247); /* oklch */ color: oklch(71.1% 0.149 291.0);
Tailwind
colors: {
custom: {
50: '#c1b0fa',
500: '#a38ff7',
950: '#000000',
},
}SCSS
$custom: #a38ff7; $custom-light: #c1b0fa; $custom-dark: #000000;
JSON
{
"hex": "#a38ff7",
"rgb": {
"r": 163,
"g": 143,
"b": 247
},
"hsl": {
"h": 251.538,
"s": 86.667,
"l": 76.471
},
"oklch": {
"l": 0.71105,
"c": 0.14906,
"h": 291
},
"luminance": 0.34147
}Semantic roles & 50–950 ramp
primary
#A38FF7
secondary
#EFF5D6
accent
#E302B8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85