#A372FC#A372FC
#A372FC is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.5% C 0.198 H 297.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #A372FC |
|---|---|
| RGB | rgb(163, 114, 252) |
| HSL | hsl(261, 96%, 72%) |
| HSV | hsv(261, 55%, 99%) |
| CMYK | cmyk(35.3%, 54.8%, 0%, 1.2%) |
| CIE-LAB | lab(58.83, 47.99, -62.23) |
| CIE-LCH | lch(58.83, 78.59, 307.64°) |
| OKLab | oklab(66.52% 0.0902 -0.1764) |
| OKLCH | oklch(66.52% 0.198 297.1) |
| XYZ | xyz(38.6878, 26.8489, 95.2207) |
| Luminance | 0.2685 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.38
Easter Purple
#C071FE
ΔE00 5.22
Mediumpurple
#9370DB
ΔE00 5.25
Light Purple
#BF77F6
ΔE00 5.72
Lighter Purple
#A55AF4
ΔE00 5.86
Periwinkle (survey)
#8E82FE
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A372FC #CBFC72
analogous
#7286FC #A372FC #E872FC
triadic
#A372FC #FCA372 #72FCA3
tetradic
#A372FC #FC7286 #CBFC72 #72FCE8
square
#A372FC #FC7286 #CBFC72 #72FCE8
split-complementary
#A372FC #FCE872 #86FC72
monochromatic
#5805EF #7C36FB #A372FC #CAAEFD #EBE1FE
Accessibility & contrast
On white
3.30
#A372FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#A372FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A372FC
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A372FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A372FC | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#338EFF
Deuteranopia (green-blind)
#448CF9
Tritanopia (blue-blind)
#8F8EAC
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a372fc; /* rgb */ color: rgb(163, 114, 252); /* oklch */ color: oklch(66.5% 0.198 297.1);
Tailwind
colors: {
custom: {
50: '#c39cfe',
500: '#a372fc',
950: '#000000',
},
}SCSS
$custom: #a372fc; $custom-light: #c39cfe; $custom-dark: #000000;
JSON
{
"hex": "#a372fc",
"rgb": {
"r": 163,
"g": 114,
"b": 252
},
"hsl": {
"h": 261.304,
"s": 95.833,
"l": 71.765
},
"oklch": {
"l": 0.66522,
"c": 0.19809,
"h": 297.1
},
"luminance": 0.26849
}Semantic roles & 50–950 ramp
primary
#A372FC
secondary
#EAF6D3
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86