#A78EEA#A78EEA

#A78EEA is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.6% C 0.133 H 295.3°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#A78EEA
RGBrgb(167, 142, 234)
HSLhsl(256, 69%, 74%)
HSVhsv(256, 39%, 92%)
CMYKcmyk(28.6%, 39.3%, 0%, 8.2%)
CIE-LABlab(64.56, 28.85, -43.18)
CIE-LCHlch(64.56, 51.93, 303.75°)
OKLaboklab(70.6% 0.057 -0.1206)
OKLCHoklch(70.6% 0.133 295.3)
XYZxyz(40.4570, 33.5015, 82.1609)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78EEA #D1EA8E
analogous
#8EA3EA #A78EEA #D58EEA
triadic
#A78EEA #EAA78E #8EEAA7
tetradic
#A78EEA #EA8EA3 #D1EA8E #8EEAD5
square
#A78EEA #EA8EA3 #D1EA8E #8EEAD5
split-complementary
#A78EEA #EAD58E #A3EA8E
monochromatic
#5728D6 #7F5AE0 #A78EEA #CFC2F4 #EBE5FA

Accessibility & contrast

On white

2.73
#A78EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#A78EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78EEA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78EEA#FFFFFF#000000##000000
##A78EEA1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#749DEE
Deuteranopia (green-blind)
#789BE8
Tritanopia (blue-blind)
#999EB1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a78eea;
/* rgb */ color: rgb(167, 142, 234);
/* oklch */ color: oklch(70.6% 0.133 295.3);
Tailwind
colors: {
  custom: {
    50: '#c3aff1',
    500: '#a78eea',
    950: '#000000',
  },
}
SCSS
$custom: #a78eea;
$custom-light: #c3aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#a78eea",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 256.304,
    "s": 68.657,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70597,
    "c": 0.1334,
    "h": 295.3
  },
  "luminance": 0.33502
}

Semantic roles & 50–950 ramp

primary
#A78EEA
secondary
#EBF2D9
accent
#D1159E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A78EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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