#A078FE#A078FE
#A078FE is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.3% C 0.192 H 294.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A078FE |
|---|---|
| RGB | rgb(160, 120, 254) |
| HSL | hsl(258, 99%, 73%) |
| HSV | hsv(258, 53%, 100%) |
| CMYK | cmyk(37%, 52.8%, 0%, 0.4%) |
| CIE-LAB | lab(59.94, 44.51, -61.57) |
| CIE-LCH | lch(59.94, 75.98, 305.86°) |
| OKLab | oklab(67.31% 0.0793 -0.1745) |
| OKLCH | oklch(67.31% 0.192 294.4) |
| XYZ | xyz(39.0984, 28.0615, 97.1032) |
| Luminance | 0.2806 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.62
Periwinkle (survey)
#8E82FE
ΔE00 4.74
Mediumpurple
#9370DB
ΔE00 5.70
Easter Purple
#C071FE
ΔE00 6.09
Light Purple
#BF77F6
ΔE00 6.31
Lavender Blue
#8B88F8
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A078FE #D6FE78
analogous
#7893FE #A078FE #E378FE
triadic
#A078FE #FEA078 #78FEA0
tetradic
#A078FE #FE7893 #D6FE78 #78FEE3
square
#A078FE #FE7893 #D6FE78 #78FEE3
split-complementary
#A078FE #FEE378 #93FE78
monochromatic
#4C02FA #753BFE #A078FE #CBB5FE #EAE1FF
Accessibility & contrast
On white
3.18
#A078FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#A078FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A078FE
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A078FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A078FE | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E92FF
Deuteranopia (green-blind)
#488EFB
Tritanopia (blue-blind)
#8993B0
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a078fe; /* rgb */ color: rgb(160, 120, 254); /* oklch */ color: oklch(67.3% 0.192 294.4);
Tailwind
colors: {
custom: {
50: '#c1a0ff',
500: '#a078fe',
950: '#000000',
},
}SCSS
$custom: #a078fe; $custom-light: #c1a0ff; $custom-dark: #000000;
JSON
{
"hex": "#a078fe",
"rgb": {
"r": 160,
"g": 120,
"b": 254
},
"hsl": {
"h": 257.91,
"s": 98.529,
"l": 73.333
},
"oklch": {
"l": 0.67313,
"c": 0.1917,
"h": 294.4
},
"luminance": 0.28062
}Semantic roles & 50–950 ramp
primary
#A078FE
secondary
#EDF7D4
accent
#E600A1
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86