#A78AED#A78AED

#A78AED is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.0% C 0.144 H 296.0°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#A78AED
RGBrgb(167, 138, 237)
HSLhsl(258, 73%, 74%)
HSVhsv(258, 42%, 93%)
CMYKcmyk(29.5%, 41.8%, 0%, 7.1%)
CIE-LABlab(63.76, 31.86, -46.10)
CIE-LCHlch(63.76, 56.04, 304.65°)
OKLaboklab(70.03% 0.0629 -0.1291)
OKLCHoklch(70.03% 0.144 296)
XYZxyz(40.3072, 32.5064, 84.2551)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78AED #D0ED8A
analogous
#8A9EED #A78AED #D88AED
triadic
#A78AED #EDA78A #8AEDA7
tetradic
#A78AED #ED8A9E #D0ED8A #8AEDD8
square
#A78AED #ED8A9E #D0ED8A #8AEDD8
split-complementary
#A78AED #EDD88A #9EED8A
monochromatic
#5822DB #7F55E5 #A78AED #CFBFF5 #EBE4FB

Accessibility & contrast

On white

2.80
#A78AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#A78AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78AED
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78AED#FFFFFF#000000##000000
##A78AED1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF1
Deuteranopia (green-blind)
#7299EB
Tritanopia (blue-blind)
#989CB0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a78aed;
/* rgb */ color: rgb(167, 138, 237);
/* oklch */ color: oklch(70.0% 0.144 296.0);
Tailwind
colors: {
  custom: {
    50: '#c3acf3',
    500: '#a78aed',
    950: '#000000',
  },
}
SCSS
$custom: #a78aed;
$custom-light: #c3acf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a78aed",
  "rgb": {
    "r": 167,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 257.576,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70032,
    "c": 0.1436,
    "h": 296
  },
  "luminance": 0.32507
}

Semantic roles & 50–950 ramp

primary
#A78AED
secondary
#EBF3D8
accent
#D5109C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A78AED

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

Preview Lab → · Contrast checker → · Palette generator →

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