#A378EC#A378EC
#A378EC is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.5% C 0.170 H 298.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A378EC |
|---|---|
| RGB | rgb(163, 120, 236) |
| HSL | hsl(262, 75%, 70%) |
| HSV | hsv(262, 49%, 93%) |
| CMYK | cmyk(30.9%, 49.2%, 0%, 7.5%) |
| CIE-LAB | lab(59.23, 40.68, -52.74) |
| CIE-LCH | lch(59.23, 66.61, 307.64°) |
| OKLab | oklab(66.53% 0.0818 -0.1486) |
| OKLCH | oklch(66.53% 0.17 298.8) |
| XYZ | xyz(36.9574, 27.2753, 82.6582) |
| Luminance | 0.2728 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.76
Mediumpurple
#9370DB
ΔE00 4.12
Light Purple
#BF77F6
ΔE00 5.17
Easter Purple
#C071FE
ΔE00 5.56
Periwinkle (survey)
#8E82FE
ΔE00 6.41
Lighter Purple
#A55AF4
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A378EC #C1EC78
analogous
#7887EC #A378EC #DD78EC
triadic
#A378EC #ECA378 #78ECA3
tetradic
#A378EC #EC7887 #C1EC78 #78ECDD
square
#A378EC #EC7887 #C1EC78 #78ECDD
split-complementary
#A378EC #ECDD78 #87EC78
monochromatic
#5E1DCD #7E42E4 #A378EC #C8AEF4 #ECE3FB
Accessibility & contrast
On white
3.25
#A378EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#A378EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A378EC
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A378EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A378EC | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518FF0
Deuteranopia (green-blind)
#5B8EE9
Tritanopia (blue-blind)
#948EA7
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a378ec; /* rgb */ color: rgb(163, 120, 236); /* oklch */ color: oklch(66.5% 0.170 298.8);
Tailwind
colors: {
custom: {
50: '#c1a0f3',
500: '#a378ec',
950: '#000000',
},
}SCSS
$custom: #a378ec; $custom-light: #c1a0f3; $custom-dark: #000000;
JSON
{
"hex": "#a378ec",
"rgb": {
"r": 163,
"g": 120,
"b": 236
},
"hsl": {
"h": 262.241,
"s": 75.325,
"l": 69.804
},
"oklch": {
"l": 0.66525,
"c": 0.16957,
"h": 298.8
},
"luminance": 0.27276
}Semantic roles & 50–950 ramp
primary
#A378EC
secondary
#E4F0D0
accent
#D70E8D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85