#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
RGBrgb(160, 120, 254)
HSLhsl(258, 99%, 73%)
HSVhsv(258, 53%, 100%)
CMYKcmyk(37%, 52.8%, 0%, 0.4%)
CIE-LABlab(59.94, 44.51, -61.57)
CIE-LCHlch(59.94, 75.98, 305.86°)
OKLaboklab(67.31% 0.0793 -0.1745)
OKLCHoklch(67.31% 0.192 294.4)
XYZxyz(39.0984, 28.0615, 97.1032)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##A078FE1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.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

Preview Lab

Preview with #A078FE

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

Preview Lab → · Contrast checker → · Palette generator →

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