#A078E2#A078E2

#A078E2 is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.7% C 0.156 H 299.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A078E2
RGBrgb(160, 120, 226)
HSLhsl(263, 65%, 68%)
HSVhsv(263, 47%, 89%)
CMYKcmyk(29.2%, 46.9%, 0%, 11.4%)
CIE-LABlab(58.41, 37.43, -48.48)
CIE-LCHlch(58.41, 61.25, 307.67°)
OKLaboklab(65.68% 0.077 -0.1362)
OKLCHoklch(65.68% 0.156 299.5)
XYZxyz(34.9379, 26.3973, 75.1913)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A078E2 #BAE278
analogous
#7885E2 #A078E2 #D578E2
triadic
#A078E2 #E2A078 #78E2A0
tetradic
#A078E2 #E27885 #BAE278 #78E2D5
square
#A078E2 #E27885 #BAE278 #78E2D5
split-complementary
#A078E2 #E2D578 #85E278
monochromatic
#5E28B8 #7D46D7 #A078E2 #C3AAED #E7DDF8

Accessibility & contrast

On white

3.34
#A078E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A078E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A078E2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A078E2#FFFFFF#000000##000000
##A078E21.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#578CE6
Deuteranopia (green-blind)
#608CDF
Tritanopia (blue-blind)
#938BA2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a078e2;
/* rgb */ color: rgb(160, 120, 226);
/* oklch */ color: oklch(65.7% 0.156 299.5);
Tailwind
colors: {
  custom: {
    50: '#bfa0eb',
    500: '#a078e2',
    950: '#000000',
  },
}
SCSS
$custom: #a078e2;
$custom-light: #bfa0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a078e2",
  "rgb": {
    "r": 160,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 262.642,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65676,
    "c": 0.15647,
    "h": 299.5
  },
  "luminance": 0.26398
}

Semantic roles & 50–950 ramp

primary
#A078E2
secondary
#DFEBCB
accent
#CC1989
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A078E2

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

Preview Lab → · Contrast checker → · Palette generator →

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