#A372FB#A372FB
#A372FB is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.5% C 0.197 H 297.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #A372FB |
|---|---|
| RGB | rgb(163, 114, 251) |
| HSL | hsl(261, 94%, 72%) |
| HSV | hsv(261, 55%, 98%) |
| CMYK | cmyk(35.1%, 54.6%, 0%, 1.6%) |
| CIE-LAB | lab(58.78, 47.74, -61.78) |
| CIE-LCH | lch(58.78, 78.07, 307.70°) |
| OKLab | oklab(66.46% 0.0901 -0.175) |
| OKLCH | oklch(66.46% 0.197 297.3) |
| XYZ | xyz(38.5298, 26.7856, 94.3883) |
| Luminance | 0.2679 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.31
Mediumpurple
#9370DB
ΔE00 5.14
Easter Purple
#C071FE
ΔE00 5.19
Light Purple
#BF77F6
ΔE00 5.67
Lighter Purple
#A55AF4
ΔE00 5.83
Periwinkle (survey)
#8E82FE
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A372FB #CAFB72
analogous
#7286FB #A372FB #E872FB
triadic
#A372FB #FBA372 #72FBA3
tetradic
#A372FB #FB7286 #CAFB72 #72FBE8
square
#A372FB #FB7286 #CAFB72 #72FBE8
split-complementary
#A372FB #FBE872 #86FB72
monochromatic
#5907EC #7C36F9 #A372FB #CAAEFD #ECE1FE
Accessibility & contrast
On white
3.30
#A372FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#A372FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A372FB
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A372FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A372FB | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#358EFF
Deuteranopia (green-blind)
#458CF8
Tritanopia (blue-blind)
#8F8EAC
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a372fb; /* rgb */ color: rgb(163, 114, 251); /* oklch */ color: oklch(66.5% 0.197 297.3);
Tailwind
colors: {
custom: {
50: '#c39cfd',
500: '#a372fb',
950: '#000000',
},
}SCSS
$custom: #a372fb; $custom-light: #c39cfd; $custom-dark: #000000;
JSON
{
"hex": "#a372fb",
"rgb": {
"r": 163,
"g": 114,
"b": 251
},
"hsl": {
"h": 261.46,
"s": 94.483,
"l": 71.569
},
"oklch": {
"l": 0.6646,
"c": 0.19688,
"h": 297.3
},
"luminance": 0.26786
}Semantic roles & 50–950 ramp
primary
#A372FB
secondary
#E9F6D3
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86