#A378F2#A378F2
#A378F2 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.177 H 297.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #A378F2 |
|---|---|
| RGB | rgb(163, 120, 242) |
| HSL | hsl(261, 82%, 71%) |
| HSV | hsv(261, 50%, 95%) |
| CMYK | cmyk(32.6%, 50.4%, 0%, 5.1%) |
| CIE-LAB | lab(59.55, 42.18, -55.56) |
| CIE-LCH | lch(59.55, 69.75, 307.21°) |
| OKLab | oklab(66.87% 0.0823 -0.1568) |
| OKLCH | oklch(66.87% 0.177 297.7) |
| XYZ | xyz(37.8438, 27.6298, 87.3265) |
| Luminance | 0.2763 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.69
Mediumpurple
#9370DB
ΔE00 4.60
Light Purple
#BF77F6
ΔE00 5.25
Easter Purple
#C071FE
ΔE00 5.42
Periwinkle (survey)
#8E82FE
ΔE00 5.87
Lighter Purple
#A55AF4
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A378F2 #C7F278
analogous
#788AF2 #A378F2 #E078F2
triadic
#A378F2 #F2A378 #78F2A3
tetradic
#A378F2 #F2788A #C7F278 #78F2E0
square
#A378F2 #F2788A #C7F278 #78F2E0
split-complementary
#A378F2 #F2E078 #8AF278
monochromatic
#5B15DB #7D40ED #A378F2 #C9B0F7 #ECE3FC
Accessibility & contrast
On white
3.22
#A378F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#A378F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A378F2
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A378F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A378F2 | 1.00 | 3.22 | 6.53 | 6.53 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C90F6
Deuteranopia (green-blind)
#568EEF
Tritanopia (blue-blind)
#9290AA
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a378f2; /* rgb */ color: rgb(163, 120, 242); /* oklch */ color: oklch(66.9% 0.177 297.7);
Tailwind
colors: {
custom: {
50: '#c2a0f7',
500: '#a378f2',
950: '#000000',
},
}SCSS
$custom: #a378f2; $custom-light: #c2a0f7; $custom-dark: #000000;
JSON
{
"hex": "#a378f2",
"rgb": {
"r": 163,
"g": 120,
"b": 242
},
"hsl": {
"h": 261.148,
"s": 82.432,
"l": 70.98
},
"oklch": {
"l": 0.66872,
"c": 0.17706,
"h": 297.7
},
"luminance": 0.2763
}Semantic roles & 50–950 ramp
primary
#A378F2
secondary
#E8F3D3
accent
#DF0793
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85