#A078F5#A078F5

#A078F5 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.8% C 0.180 H 295.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A078F5
RGBrgb(160, 120, 245)
HSLhsl(259, 86%, 72%)
HSVhsv(259, 51%, 96%)
CMYKcmyk(34.7%, 51%, 0%, 3.9%)
CIE-LABlab(59.43, 42.20, -57.42)
CIE-LCHlch(59.43, 71.26, 306.31°)
OKLaboklab(66.77% 0.0788 -0.1623)
OKLCHoklch(66.77% 0.18 295.9)
XYZxyz(37.6909, 27.4985, 89.6905)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A078F5 #CDF578
analogous
#788FF5 #A078F5 #DF78F5
triadic
#A078F5 #F5A078 #78F5A0
tetradic
#A078F5 #F5788F #CDF578 #78F5DF
square
#A078F5 #F5788F #CDF578 #78F5DF
split-complementary
#A078F5 #F5DF78 #8FF578
monochromatic
#5411E2 #783FF1 #A078F5 #C8B1F9 #EBE3FD

Accessibility & contrast

On white

3.23
#A078F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#A078F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A078F5
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A078F5#FFFFFF#000000##000000
##A078F51.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4890F9
Deuteranopia (green-blind)
#518DF2
Tritanopia (blue-blind)
#8C91AB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a078f5;
/* rgb */ color: rgb(160, 120, 245);
/* oklch */ color: oklch(66.8% 0.180 295.9);
Tailwind
colors: {
  custom: {
    50: '#c0a0f9',
    500: '#a078f5',
    950: '#000000',
  },
}
SCSS
$custom: #a078f5;
$custom-light: #c0a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a078f5",
  "rgb": {
    "r": 160,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 259.2,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66769,
    "c": 0.18048,
    "h": 295.9
  },
  "luminance": 0.27499
}

Semantic roles & 50–950 ramp

primary
#A078F5
secondary
#EAF4D4
accent
#E3039B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A078F5

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

Preview Lab → · Contrast checker → · Palette generator →

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