#A372DF#A372DF
#A372DF is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.8% C 0.163 H 302.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A372DF |
|---|---|
| RGB | rgb(163, 114, 223) |
| HSL | hsl(267, 63%, 66%) |
| HSV | hsv(267, 49%, 87%) |
| CMYK | cmyk(26.9%, 48.9%, 0%, 12.5%) |
| CIE-LAB | lab(57.22, 40.85, -48.67) |
| CIE-LCH | lch(57.22, 63.54, 310.00°) |
| OKLab | oklab(64.81% 0.0884 -0.1367) |
| OKLCH | oklch(64.81% 0.163 302.9) |
| XYZ | xyz(34.4379, 25.1489, 72.8377) |
| Luminance | 0.2515 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.25
Light Urple
#B36FF6
ΔE00 4.05
Light Purple
#BF77F6
ΔE00 5.65
Deep Lilac
#966EBD
ΔE00 6.04
Easter Purple
#C071FE
ΔE00 6.09
Lighter Purple
#A55AF4
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A372DF #AEDF72
analogous
#7277DF #A372DF #D972DF
triadic
#A372DF #DFA372 #72DFA3
tetradic
#A372DF #DF7277 #AEDF72 #72DFD9
square
#A372DF #DF7277 #AEDF72 #72DFD9
split-complementary
#A372DF #DFD972 #77DF72
monochromatic
#6428AF #8240D4 #A372DF #C4A4EA #E4D6F6
Accessibility & contrast
On white
3.48
#A372DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#A372DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A372DF
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A372DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A372DF | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5188E3
Deuteranopia (green-blind)
#5E89DC
Tritanopia (blue-blind)
#98869E
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #a372df; /* rgb */ color: rgb(163, 114, 223); /* oklch */ color: oklch(64.8% 0.163 302.9);
Tailwind
colors: {
custom: {
50: '#c19ce9',
500: '#a372df',
950: '#000000',
},
}SCSS
$custom: #a372df; $custom-light: #c19ce9; $custom-dark: #000000;
JSON
{
"hex": "#a372df",
"rgb": {
"r": 163,
"g": 114,
"b": 223
},
"hsl": {
"h": 266.972,
"s": 63.006,
"l": 66.078
},
"oklch": {
"l": 0.64805,
"c": 0.16274,
"h": 302.9
},
"luminance": 0.25149
}Semantic roles & 50–950 ramp
primary
#A372DF
secondary
#D8E8C4
accent
#CB1B7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84