#A078FA#A078FA

#A078FA is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.1% C 0.187 H 295.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A078FA
RGBrgb(160, 120, 250)
HSLhsl(258, 93%, 73%)
HSVhsv(258, 52%, 98%)
CMYKcmyk(36%, 52%, 0%, 2%)
CIE-LABlab(59.71, 43.48, -59.74)
CIE-LCHlch(59.71, 73.88, 306.05°)
OKLaboklab(67.07% 0.0791 -0.1691)
OKLCHoklch(67.07% 0.187 295.1)
XYZxyz(38.4646, 27.8079, 93.7649)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A078FA #D2FA78
analogous
#7891FA #A078FA #E178FA
triadic
#A078FA #FAA078 #78FAA0
tetradic
#A078FA #FA7891 #D2FA78 #78FAE1
square
#A078FA #FA7891 #D2FA78 #78FAE1
split-complementary
#A078FA #FAE178 #91FA78
monochromatic
#5009EF #763DF8 #A078FA #CAB3FC #EAE1FE

Accessibility & contrast

On white

3.20
#A078FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#A078FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A078FA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A078FA#FFFFFF#000000##000000
##A078FA1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FE
Deuteranopia (green-blind)
#4C8EF7
Tritanopia (blue-blind)
#8A92AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a078fa;
/* rgb */ color: rgb(160, 120, 250);
/* oklch */ color: oklch(67.1% 0.187 295.1);
Tailwind
colors: {
  custom: {
    50: '#c0a0fd',
    500: '#a078fa',
    950: '#000000',
  },
}
SCSS
$custom: #a078fa;
$custom-light: #c0a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a078fa",
  "rgb": {
    "r": 160,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 258.462,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67069,
    "c": 0.18672,
    "h": 295.1
  },
  "luminance": 0.27809
}

Semantic roles & 50–950 ramp

primary
#A078FA
secondary
#ECF6D5
accent
#E6009F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A078FA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A078FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva