#A372F5#A372F5
#A372F5 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.1% C 0.190 H 298.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A372F5 |
|---|---|
| RGB | rgb(163, 114, 245) |
| HSL | hsl(262, 87%, 70%) |
| HSV | hsv(262, 53%, 96%) |
| CMYK | cmyk(33.5%, 53.5%, 0%, 3.9%) |
| CIE-LAB | lab(58.43, 46.23, -59.02) |
| CIE-LCH | lch(58.43, 74.97, 308.08°) |
| OKLab | oklab(66.09% 0.09 -0.1669) |
| OKLCH | oklch(66.09% 0.19 298.3) |
| XYZ | xyz(37.5990, 26.4133, 89.4859) |
| Luminance | 0.2641 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.04
Mediumpurple
#9370DB
ΔE00 4.48
Easter Purple
#C071FE
ΔE00 5.13
Light Purple
#BF77F6
ΔE00 5.43
Lighter Purple
#A55AF4
ΔE00 5.68
Periwinkle (survey)
#8E82FE
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A372F5 #C4F572
analogous
#7282F5 #A372F5 #E572F5
triadic
#A372F5 #F5A372 #72F5A3
tetradic
#A372F5 #F57282 #C4F572 #72F5E5
square
#A372F5 #F57282 #C4F572 #72F5E5
split-complementary
#A372F5 #F5E572 #82F572
monochromatic
#5C10DD #7E39F1 #A372F5 #C8ABF9 #ECE2FD
Accessibility & contrast
On white
3.34
#A372F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#A372F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A372F5
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A372F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A372F5 | 1.00 | 3.34 | 6.28 | 6.28 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C8DF9
Deuteranopia (green-blind)
#4B8BF2
Tritanopia (blue-blind)
#918CA9
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a372f5; /* rgb */ color: rgb(163, 114, 245); /* oklch */ color: oklch(66.1% 0.190 298.3);
Tailwind
colors: {
custom: {
50: '#c29cf9',
500: '#a372f5',
950: '#000000',
},
}SCSS
$custom: #a372f5; $custom-light: #c29cf9; $custom-dark: #000000;
JSON
{
"hex": "#a372f5",
"rgb": {
"r": 163,
"g": 114,
"b": 245
},
"hsl": {
"h": 262.443,
"s": 86.755,
"l": 70.392
},
"oklch": {
"l": 0.66091,
"c": 0.18962,
"h": 298.3
},
"luminance": 0.26414
}Semantic roles & 50–950 ramp
primary
#A372F5
secondary
#E6F3CF
accent
#E3028F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85