#A382F4#A382F4
#A382F4 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.7% C 0.165 H 295.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A382F4 |
|---|---|
| RGB | rgb(163, 130, 244) |
| HSL | hsl(257, 84%, 73%) |
| HSV | hsv(257, 47%, 96%) |
| CMYK | cmyk(33.2%, 46.7%, 0%, 4.3%) |
| CIE-LAB | lab(61.90, 37.08, -52.93) |
| CIE-LCH | lch(61.90, 64.63, 305.02°) |
| OKLab | oklab(68.66% 0.0697 -0.1491) |
| OKLCH | oklch(68.66% 0.165 295.1) |
| XYZ | xyz(39.4119, 30.2828, 89.3391) |
| Luminance | 0.3028 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.71
Lavender Blue
#8B88F8
ΔE00 5.76
Light Urple
#B36FF6
ΔE00 5.85
Perrywinkle
#8F8CE7
ΔE00 5.94
Light Purple
#BF77F6
ΔE00 6.23
Mediumpurple
#9370DB
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A382F4 #D3F482
analogous
#829AF4 #A382F4 #DC82F4
triadic
#A382F4 #F4A382 #82F4A3
tetradic
#A382F4 #F4829A #D3F482 #82F4DC
square
#A382F4 #F4829A #D3F482 #82F4DC
split-complementary
#A382F4 #F4DC82 #9AF482
monochromatic
#5114E7 #7A4AEF #A382F4 #CCBAF9 #EAE3FD
Accessibility & contrast
On white
2.98
#A382F4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#A382F4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A382F4
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A382F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A382F4 | 1.00 | 2.98 | 7.06 | 7.06 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B96F8
Deuteranopia (green-blind)
#6194F1
Tritanopia (blue-blind)
#9098AF
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #a382f4; /* rgb */ color: rgb(163, 130, 244); /* oklch */ color: oklch(68.7% 0.165 295.1);
Tailwind
colors: {
custom: {
50: '#c1a7f8',
500: '#a382f4',
950: '#000000',
},
}SCSS
$custom: #a382f4; $custom-light: #c1a7f8; $custom-dark: #000000;
JSON
{
"hex": "#a382f4",
"rgb": {
"r": 163,
"g": 130,
"b": 244
},
"hsl": {
"h": 257.368,
"s": 83.824,
"l": 73.333
},
"oklch": {
"l": 0.68658,
"c": 0.16459,
"h": 295.1
},
"luminance": 0.30283
}Semantic roles & 50–950 ramp
primary
#A382F4
secondary
#ECF4D7
accent
#E005A1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85