#A078FC#A078FC

#A078FC is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.2% C 0.189 H 294.8°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A078FC
RGBrgb(160, 120, 252)
HSLhsl(258, 96%, 73%)
HSVhsv(258, 52%, 99%)
CMYKcmyk(36.5%, 52.4%, 0%, 1.2%)
CIE-LABlab(59.83, 44.00, -60.66)
CIE-LCHlch(59.83, 74.93, 305.95°)
OKLaboklab(67.19% 0.0792 -0.1718)
OKLCHoklch(67.19% 0.189 294.8)
XYZxyz(38.7798, 27.9340, 95.4252)
Luminance0.2793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A078FC #D4FC78
analogous
#7892FC #A078FC #E278FC
triadic
#A078FC #FCA078 #78FCA0
tetradic
#A078FC #FC7892 #D4FC78 #78FCE2
square
#A078FC #FC7892 #D4FC78 #78FCE2
split-complementary
#A078FC #FCE278 #92FC78
monochromatic
#4E05F4 #763CFB #A078FC #CAB4FD #EAE1FE

Accessibility & contrast

On white

3.19
#A078FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#A078FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A078FC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A078FC#FFFFFF#000000##000000
##A078FC1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4091FF
Deuteranopia (green-blind)
#4A8EF9
Tritanopia (blue-blind)
#8A93AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a078fc;
/* rgb */ color: rgb(160, 120, 252);
/* oklch */ color: oklch(67.2% 0.189 294.8);
Tailwind
colors: {
  custom: {
    50: '#c0a0fe',
    500: '#a078fc',
    950: '#000000',
  },
}
SCSS
$custom: #a078fc;
$custom-light: #c0a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a078fc",
  "rgb": {
    "r": 160,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 258.182,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67191,
    "c": 0.18921,
    "h": 294.8
  },
  "luminance": 0.27935
}

Semantic roles & 50–950 ramp

primary
#A078FC
secondary
#ECF7D4
accent
#E600A0
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A078FC

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

Preview Lab → · Contrast checker → · Palette generator →

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