#A370F9#A370F9
#A370F9 is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.0% C 0.197 H 298.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A370F9 |
|---|---|
| RGB | rgb(163, 112, 249) |
| HSL | hsl(262, 92%, 71%) |
| HSV | hsv(262, 55%, 98%) |
| CMYK | cmyk(34.5%, 55%, 0%, 2.4%) |
| CIE-LAB | lab(58.24, 48.32, -61.53) |
| CIE-LCH | lch(58.24, 78.24, 308.14°) |
| OKLab | oklab(66.03% 0.0925 -0.1743) |
| OKLCH | oklch(66.03% 0.197 298) |
| XYZ | xyz(37.9931, 26.2140, 92.6623) |
| Luminance | 0.2621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.12
Mediumpurple
#9370DB
ΔE00 4.88
Easter Purple
#C071FE
ΔE00 5.18
Lighter Purple
#A55AF4
ΔE00 5.27
Light Purple
#BF77F6
ΔE00 5.71
Bright Lavender
#C760FF
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A370F9 #C6F970
analogous
#7081F9 #A370F9 #E870F9
triadic
#A370F9 #F9A370 #70F9A3
tetradic
#A370F9 #F97081 #C6F970 #70F9E8
square
#A370F9 #F97081 #C6F970 #70F9E8
split-complementary
#A370F9 #F9E870 #81F970
monochromatic
#5B0AE5 #7D35F7 #A370F9 #C9ABFB #ECE2FE
Accessibility & contrast
On white
3.36
#A370F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#A370F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A370F9
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A370F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A370F9 | 1.00 | 3.36 | 6.24 | 6.24 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#328CFE
Deuteranopia (green-blind)
#448BF6
Tritanopia (blue-blind)
#908CAA
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a370f9; /* rgb */ color: rgb(163, 112, 249); /* oklch */ color: oklch(66.0% 0.197 298.0);
Tailwind
colors: {
custom: {
50: '#c39bfc',
500: '#a370f9',
950: '#000000',
},
}SCSS
$custom: #a370f9; $custom-light: #c39bfc; $custom-dark: #000000;
JSON
{
"hex": "#a370f9",
"rgb": {
"r": 163,
"g": 112,
"b": 249
},
"hsl": {
"h": 262.336,
"s": 91.946,
"l": 70.784
},
"oklch": {
"l": 0.66027,
"c": 0.19733,
"h": 298
},
"luminance": 0.26214
}Semantic roles & 50–950 ramp
primary
#A370F9
secondary
#E7F5D0
accent
#E60090
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86