#A382F7#A382F7
#A382F7 is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.8% C 0.168 H 294.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A382F7 |
|---|---|
| RGB | rgb(163, 130, 247) |
| HSL | hsl(257, 88%, 74%) |
| HSV | hsv(257, 47%, 97%) |
| CMYK | cmyk(34%, 47.4%, 0%, 3.1%) |
| CIE-LAB | lab(62.05, 37.85, -54.33) |
| CIE-LCH | lch(62.05, 66.22, 304.86°) |
| OKLab | oklab(68.83% 0.07 -0.1532) |
| OKLCH | oklch(68.83% 0.168 294.6) |
| XYZ | xyz(39.8711, 30.4665, 91.7576) |
| Luminance | 0.3047 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.47
Lavender Blue
#8B88F8
ΔE00 5.60
Light Urple
#B36FF6
ΔE00 5.88
Perrywinkle
#8F8CE7
ΔE00 6.01
Light Purple
#BF77F6
ΔE00 6.31
Mediumpurple
#9370DB
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A382F7 #D6F782
analogous
#829CF7 #A382F7 #DE82F7
triadic
#A382F7 #F7A382 #82F7A3
tetradic
#A382F7 #F7829C #D6F782 #82F7DE
square
#A382F7 #F7829C #D6F782 #82F7DE
split-complementary
#A382F7 #F7DE82 #9CF782
monochromatic
#4E0FEF #7948F3 #A382F7 #CDBCFB #EAE2FD
Accessibility & contrast
On white
2.96
#A382F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.09
#A382F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A382F7
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A382F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A382F7 | 1.00 | 2.96 | 7.09 | 7.09 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5997FB
Deuteranopia (green-blind)
#5F94F4
Tritanopia (blue-blind)
#8F99B1
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #a382f7; /* rgb */ color: rgb(163, 130, 247); /* oklch */ color: oklch(68.8% 0.168 294.6);
Tailwind
colors: {
custom: {
50: '#c2a7fa',
500: '#a382f7',
950: '#000000',
},
}SCSS
$custom: #a382f7; $custom-light: #c2a7fa; $custom-dark: #000000;
JSON
{
"hex": "#a382f7",
"rgb": {
"r": 163,
"g": 130,
"b": 247
},
"hsl": {
"h": 256.923,
"s": 87.97,
"l": 73.922
},
"oklch": {
"l": 0.68827,
"c": 0.16845,
"h": 294.6
},
"luminance": 0.30467
}Semantic roles & 50–950 ramp
primary
#A382F7
secondary
#ECF5D6
accent
#E501A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85