#A378EB#A378EB
#A378EB is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.5% C 0.168 H 299.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A378EB |
|---|---|
| RGB | rgb(163, 120, 235) |
| HSL | hsl(262, 74%, 70%) |
| HSV | hsv(262, 49%, 92%) |
| CMYK | cmyk(30.6%, 48.9%, 0%, 7.8%) |
| CIE-LAB | lab(59.17, 40.44, -52.27) |
| CIE-LCH | lch(59.17, 66.09, 307.72°) |
| OKLab | oklab(66.47% 0.0817 -0.1472) |
| OKLCH | oklch(66.47% 0.168 299) |
| XYZ | xyz(36.8125, 27.2173, 81.8952) |
| Luminance | 0.2722 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.79
Mediumpurple
#9370DB
ΔE00 4.06
Light Purple
#BF77F6
ΔE00 5.18
Easter Purple
#C071FE
ΔE00 5.60
Periwinkle (survey)
#8E82FE
ΔE00 6.51
Lighter Purple
#A55AF4
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A378EB #C0EB78
analogous
#7886EB #A378EB #DD78EB
triadic
#A378EB #EBA378 #78EBA3
tetradic
#A378EB #EB7886 #C0EB78 #78EBDD
square
#A378EB #EB7886 #C0EB78 #78EBDD
split-complementary
#A378EB #EBDD78 #86EB78
monochromatic
#5F1ECB #7F43E3 #A378EB #C7ADF3 #ECE3FB
Accessibility & contrast
On white
3.26
#A378EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#A378EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A378EB
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A378EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A378EB | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#5C8DE8
Tritanopia (blue-blind)
#948EA7
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a378eb; /* rgb */ color: rgb(163, 120, 235); /* oklch */ color: oklch(66.5% 0.168 299.0);
Tailwind
colors: {
custom: {
50: '#c1a0f2',
500: '#a378eb',
950: '#000000',
},
}SCSS
$custom: #a378eb; $custom-light: #c1a0f2; $custom-dark: #000000;
JSON
{
"hex": "#a378eb",
"rgb": {
"r": 163,
"g": 120,
"b": 235
},
"hsl": {
"h": 262.435,
"s": 74.194,
"l": 69.608
},
"oklch": {
"l": 0.66468,
"c": 0.16832,
"h": 299
},
"luminance": 0.27218
}Semantic roles & 50–950 ramp
primary
#A378EB
secondary
#E4F0CF
accent
#D60F8C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85