#A372F2#A372F2
#A372F2 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.9% C 0.186 H 298.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A372F2 |
|---|---|
| RGB | rgb(163, 114, 242) |
| HSL | hsl(263, 83%, 70%) |
| HSV | hsv(263, 53%, 95%) |
| CMYK | cmyk(32.6%, 52.9%, 0%, 5.1%) |
| CIE-LAB | lab(58.26, 45.49, -57.63) |
| CIE-LCH | lch(58.26, 73.42, 308.29°) |
| OKLab | oklab(65.91% 0.0898 -0.1628) |
| OKLCH | oklch(65.91% 0.186 298.9) |
| XYZ | xyz(37.1447, 26.2316, 87.0934) |
| Luminance | 0.2623 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.98
Mediumpurple
#9370DB
ΔE00 4.17
Easter Purple
#C071FE
ΔE00 5.15
Light Purple
#BF77F6
ΔE00 5.35
Lighter Purple
#A55AF4
ΔE00 5.66
Periwinkle (survey)
#8E82FE
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A372F2 #C1F272
analogous
#7281F2 #A372F2 #E372F2
triadic
#A372F2 #F2A372 #72F2A3
tetradic
#A372F2 #F27281 #C1F272 #72F2E3
square
#A372F2 #F27281 #C1F272 #72F2E3
split-complementary
#A372F2 #F2E372 #81F272
monochromatic
#5E14D6 #7E3AED #A372F2 #C8AAF7 #ECE2FC
Accessibility & contrast
On white
3.36
#A372F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#A372F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A372F2
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A372F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A372F2 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#408CF6
Deuteranopia (green-blind)
#4E8BEF
Tritanopia (blue-blind)
#928BA7
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a372f2; /* rgb */ color: rgb(163, 114, 242); /* oklch */ color: oklch(65.9% 0.186 298.9);
Tailwind
colors: {
custom: {
50: '#c29cf7',
500: '#a372f2',
950: '#000000',
},
}SCSS
$custom: #a372f2; $custom-light: #c29cf7; $custom-dark: #000000;
JSON
{
"hex": "#a372f2",
"rgb": {
"r": 163,
"g": 114,
"b": 242
},
"hsl": {
"h": 262.969,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.65909,
"c": 0.18598,
"h": 298.9
},
"luminance": 0.26232
}Semantic roles & 50–950 ramp
primary
#A372F2
secondary
#E4F2CE
accent
#E0068C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85