#A370F6#A370F6
#A370F6 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.8% C 0.194 H 298.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A370F6 |
|---|---|
| RGB | rgb(163, 112, 246) |
| HSL | hsl(263, 88%, 70%) |
| HSV | hsv(263, 54%, 96%) |
| CMYK | cmyk(33.7%, 54.5%, 0%, 3.5%) |
| CIE-LAB | lab(58.06, 47.57, -60.15) |
| CIE-LCH | lch(58.06, 76.69, 308.34°) |
| OKLab | oklab(65.84% 0.0924 -0.1703) |
| OKLCH | oklch(65.84% 0.194 298.5) |
| XYZ | xyz(37.5289, 26.0283, 90.2177) |
| Luminance | 0.2603 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.99
Mediumpurple
#9370DB
ΔE00 4.56
Easter Purple
#C071FE
ΔE00 5.16
Lighter Purple
#A55AF4
ΔE00 5.19
Light Purple
#BF77F6
ΔE00 5.60
Bright Lavender
#C760FF
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A370F6 #C3F670
analogous
#7080F6 #A370F6 #E670F6
triadic
#A370F6 #F6A370 #70F6A3
tetradic
#A370F6 #F67080 #C3F670 #70F6E6
square
#A370F6 #F67080 #C3F670 #70F6E6
split-complementary
#A370F6 #F6E670 #80F670
monochromatic
#5D0EDE #7E36F2 #A370F6 #C8AAFA #ECE2FD
Accessibility & contrast
On white
3.38
#A370F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#A370F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A370F6
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A370F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A370F6 | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#368CFA
Deuteranopia (green-blind)
#478AF3
Tritanopia (blue-blind)
#918BA8
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a370f6; /* rgb */ color: rgb(163, 112, 246); /* oklch */ color: oklch(65.8% 0.194 298.5);
Tailwind
colors: {
custom: {
50: '#c29bfa',
500: '#a370f6',
950: '#000000',
},
}SCSS
$custom: #a370f6; $custom-light: #c29bfa; $custom-dark: #000000;
JSON
{
"hex": "#a370f6",
"rgb": {
"r": 163,
"g": 112,
"b": 246
},
"hsl": {
"h": 262.836,
"s": 88.158,
"l": 70.196
},
"oklch": {
"l": 0.65841,
"c": 0.19374,
"h": 298.5
},
"luminance": 0.26029
}Semantic roles & 50–950 ramp
primary
#A370F6
secondary
#E5F3CE
accent
#E5018E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85