#A378EF#A378EF
#A378EF is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.7% C 0.173 H 298.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #A378EF |
|---|---|
| RGB | rgb(163, 120, 239) |
| HSL | hsl(262, 79%, 70%) |
| HSV | hsv(262, 50%, 94%) |
| CMYK | cmyk(31.8%, 49.8%, 0%, 6.3%) |
| CIE-LAB | lab(59.39, 41.43, -54.15) |
| CIE-LCH | lch(59.39, 68.18, 307.42°) |
| OKLab | oklab(66.7% 0.082 -0.1527) |
| OKLCH | oklch(66.7% 0.173 298.2) |
| XYZ | xyz(37.3969, 27.4511, 84.9730) |
| Luminance | 0.2745 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.70
Mediumpurple
#9370DB
ΔE00 4.34
Light Purple
#BF77F6
ΔE00 5.19
Easter Purple
#C071FE
ΔE00 5.47
Periwinkle (survey)
#8E82FE
ΔE00 6.13
Lighter Purple
#A55AF4
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A378EF #C4EF78
analogous
#7888EF #A378EF #DF78EF
triadic
#A378EF #EFA378 #78EFA3
tetradic
#A378EF #EF7888 #C4EF78 #78EFDF
square
#A378EF #EF7888 #C4EF78 #78EFDF
split-complementary
#A378EF #EFDF78 #88EF78
monochromatic
#5C19D4 #7E41E9 #A378EF #C8AFF5 #ECE4FC
Accessibility & contrast
On white
3.24
#A378EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.49
#A378EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A378EF
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A378EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A378EF | 1.00 | 3.24 | 6.49 | 6.49 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#938FA8
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a378ef; /* rgb */ color: rgb(163, 120, 239); /* oklch */ color: oklch(66.7% 0.173 298.2);
Tailwind
colors: {
custom: {
50: '#c1a0f5',
500: '#a378ef',
950: '#000000',
},
}SCSS
$custom: #a378ef; $custom-light: #c1a0f5; $custom-dark: #000000;
JSON
{
"hex": "#a378ef",
"rgb": {
"r": 163,
"g": 120,
"b": 239
},
"hsl": {
"h": 261.681,
"s": 78.808,
"l": 70.392
},
"oklch": {
"l": 0.66697,
"c": 0.17332,
"h": 298.2
},
"luminance": 0.27451
}Semantic roles & 50–950 ramp
primary
#A378EF
secondary
#E6F2D1
accent
#DB0A90
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130F17
muted
#827E85