#A372F8#A372F8
#A372F8 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.3% C 0.193 H 297.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A372F8 |
|---|---|
| RGB | rgb(163, 114, 248) |
| HSL | hsl(262, 91%, 71%) |
| HSV | hsv(262, 54%, 97%) |
| CMYK | cmyk(34.3%, 54%, 0%, 2.7%) |
| CIE-LAB | lab(58.60, 46.98, -60.40) |
| CIE-LCH | lch(58.60, 76.52, 307.88°) |
| OKLab | oklab(66.27% 0.0901 -0.171) |
| OKLCH | oklch(66.27% 0.193 297.8) |
| XYZ | xyz(38.0606, 26.5980, 91.9174) |
| Luminance | 0.2660 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.15
Mediumpurple
#9370DB
ΔE00 4.80
Easter Purple
#C071FE
ΔE00 5.15
Light Purple
#BF77F6
ΔE00 5.54
Lighter Purple
#A55AF4
ΔE00 5.74
Periwinkle (survey)
#8E82FE
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A372F8 #C7F872
analogous
#7284F8 #A372F8 #E672F8
triadic
#A372F8 #F8A372 #72F8A3
tetradic
#A372F8 #F87284 #C7F872 #72F8E6
square
#A372F8 #F87284 #C7F872 #72F8E6
split-complementary
#A372F8 #F8E672 #84F872
monochromatic
#5B0BE4 #7D38F5 #A372F8 #C9ACFB #ECE2FE
Accessibility & contrast
On white
3.32
#A372F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#A372F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A372F8
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A372F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A372F8 | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#398DFD
Deuteranopia (green-blind)
#488CF5
Tritanopia (blue-blind)
#908DAA
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a372f8; /* rgb */ color: rgb(163, 114, 248); /* oklch */ color: oklch(66.3% 0.193 297.8);
Tailwind
colors: {
custom: {
50: '#c29cfb',
500: '#a372f8',
950: '#000000',
},
}SCSS
$custom: #a372f8; $custom-light: #c29cfb; $custom-dark: #000000;
JSON
{
"hex": "#a372f8",
"rgb": {
"r": 163,
"g": 114,
"b": 248
},
"hsl": {
"h": 261.94,
"s": 90.541,
"l": 70.98
},
"oklch": {
"l": 0.66275,
"c": 0.19325,
"h": 297.8
},
"luminance": 0.26598
}Semantic roles & 50–950 ramp
primary
#A372F8
secondary
#E8F5D1
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85