#A078F7#A078F7

#A078F7 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.183 H 295.6°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A078F7
RGBrgb(160, 120, 247)
HSLhsl(259, 89%, 72%)
HSVhsv(259, 51%, 97%)
CMYKcmyk(35.2%, 51.4%, 0%, 3.1%)
CIE-LABlab(59.55, 42.71, -58.35)
CIE-LCHlch(59.55, 72.31, 306.20°)
OKLaboklab(66.89% 0.079 -0.1651)
OKLCHoklch(66.89% 0.183 295.6)
XYZxyz(37.9979, 27.6213, 91.3071)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A078F7 #CFF778
analogous
#7890F7 #A078F7 #E078F7
triadic
#A078F7 #F7A078 #78F7A0
tetradic
#A078F7 #F77890 #CFF778 #78F7E0
square
#A078F7 #F77890 #CFF778 #78F7E0
split-complementary
#A078F7 #F7E078 #90F778
monochromatic
#520EE7 #773EF4 #A078F7 #C9B2FA #EBE2FD

Accessibility & contrast

On white

3.22
#A078F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A078F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A078F7
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A078F7#FFFFFF#000000##000000
##A078F71.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4690FB
Deuteranopia (green-blind)
#4F8EF4
Tritanopia (blue-blind)
#8C91AC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a078f7;
/* rgb */ color: rgb(160, 120, 247);
/* oklch */ color: oklch(66.9% 0.183 295.6);
Tailwind
colors: {
  custom: {
    50: '#c0a0fa',
    500: '#a078f7',
    950: '#000000',
  },
}
SCSS
$custom: #a078f7;
$custom-light: #c0a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a078f7",
  "rgb": {
    "r": 160,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 258.898,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66888,
    "c": 0.18297,
    "h": 295.6
  },
  "luminance": 0.27622
}

Semantic roles & 50–950 ramp

primary
#A078F7
secondary
#EBF5D5
accent
#E5009D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A078F7

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

Preview Lab → · Contrast checker → · Palette generator →

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