#A372E2#A372E2
#A372E2 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.0% C 0.166 H 302.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A372E2 |
|---|---|
| RGB | rgb(163, 114, 226) |
| HSL | hsl(266, 66%, 67%) |
| HSV | hsv(266, 50%, 89%) |
| CMYK | cmyk(27.9%, 49.6%, 0%, 11.4%) |
| CIE-LAB | lab(57.38, 41.57, -50.10) |
| CIE-LCH | lch(57.38, 65.10, 309.68°) |
| OKLab | oklab(64.97% 0.0887 -0.1408) |
| OKLCH | oklch(64.97% 0.166 302.2) |
| XYZ | xyz(34.8459, 25.3121, 74.9867) |
| Luminance | 0.2531 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.22
Light Urple
#B36FF6
ΔE00 3.73
Light Purple
#BF77F6
ΔE00 5.50
Easter Purple
#C071FE
ΔE00 5.85
Lighter Purple
#A55AF4
ΔE00 6.20
Deep Lilac
#966EBD
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A372E2 #B1E272
analogous
#7279E2 #A372E2 #DB72E2
triadic
#A372E2 #E2A372 #72E2A3
tetradic
#A372E2 #E27279 #B1E272 #72E2DB
square
#A372E2 #E27279 #B1E272 #72E2DB
split-complementary
#A372E2 #E2DB72 #79E272
monochromatic
#6425B4 #823FD8 #A372E2 #C4A5EC #E5D8F7
Accessibility & contrast
On white
3.46
#A372E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#A372E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A372E2
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A372E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A372E2 | 1.00 | 3.46 | 6.06 | 6.06 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E89E6
Deuteranopia (green-blind)
#5C89DF
Tritanopia (blue-blind)
#9786A0
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #a372e2; /* rgb */ color: rgb(163, 114, 226); /* oklch */ color: oklch(65.0% 0.166 302.2);
Tailwind
colors: {
custom: {
50: '#c19ceb',
500: '#a372e2',
950: '#000000',
},
}SCSS
$custom: #a372e2; $custom-light: #c19ceb; $custom-dark: #000000;
JSON
{
"hex": "#a372e2",
"rgb": {
"r": 163,
"g": 114,
"b": 226
},
"hsl": {
"h": 266.25,
"s": 65.882,
"l": 66.667
},
"oklch": {
"l": 0.64974,
"c": 0.16643,
"h": 302.2
},
"luminance": 0.25312
}Semantic roles & 50–950 ramp
primary
#A372E2
secondary
#DAEAC6
accent
#CE187E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84