#A374F2#A374F2
#A374F2 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.2% C 0.183 H 298.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A374F2 |
|---|---|
| RGB | rgb(163, 116, 242) |
| HSL | hsl(262, 83%, 70%) |
| HSV | hsv(262, 52%, 95%) |
| CMYK | cmyk(32.6%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(58.68, 44.39, -56.94) |
| CIE-LCH | lch(58.68, 72.20, 307.94°) |
| OKLab | oklab(66.23% 0.0873 -0.1608) |
| OKLCH | oklch(66.23% 0.183 298.5) |
| XYZ | xyz(37.3728, 26.6877, 87.1695) |
| Luminance | 0.2669 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.14
Mediumpurple
#9370DB
ΔE00 4.26
Easter Purple
#C071FE
ΔE00 5.18
Light Purple
#BF77F6
ΔE00 5.26
Lighter Purple
#A55AF4
ΔE00 6.17
Periwinkle (survey)
#8E82FE
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A374F2 #C3F274
analogous
#7484F2 #A374F2 #E274F2
triadic
#A374F2 #F2A374 #74F2A3
tetradic
#A374F2 #F27484 #C3F274 #74F2E2
square
#A374F2 #F27484 #C3F274 #74F2E2
split-complementary
#A374F2 #F2E274 #84F274
monochromatic
#5D14D7 #7E3CED #A374F2 #C8ACF7 #ECE3FC
Accessibility & contrast
On white
3.31
#A374F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#A374F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A374F2
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A374F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A374F2 | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#518CEF
Tritanopia (blue-blind)
#928DA8
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a374f2; /* rgb */ color: rgb(163, 116, 242); /* oklch */ color: oklch(66.2% 0.183 298.5);
Tailwind
colors: {
custom: {
50: '#c29df7',
500: '#a374f2',
950: '#000000',
},
}SCSS
$custom: #a374f2; $custom-light: #c29df7; $custom-dark: #000000;
JSON
{
"hex": "#a374f2",
"rgb": {
"r": 163,
"g": 116,
"b": 242
},
"hsl": {
"h": 262.381,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.66226,
"c": 0.18302,
"h": 298.5
},
"luminance": 0.26688
}Semantic roles & 50–950 ramp
primary
#A374F2
secondary
#E5F2CF
accent
#DF068E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85