#A78EE3#A78EE3

#A78EE3 is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.3% C 0.124 H 296.6°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#A78EE3
RGBrgb(167, 142, 227)
HSLhsl(258, 60%, 72%)
HSVhsv(258, 37%, 89%)
CMYKcmyk(26.4%, 37.4%, 0%, 11%)
CIE-LABlab(64.25, 27.14, -39.80)
CIE-LCHlch(64.25, 48.18, 304.29°)
OKLaboklab(70.25% 0.0556 -0.1109)
OKLCHoklch(70.25% 0.124 296.6)
XYZxyz(39.4712, 33.1071, 76.9690)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78EE3 #CAE38E
analogous
#8EA0E3 #A78EE3 #D28EE3
triadic
#A78EE3 #E3A78E #8EE3A7
tetradic
#A78EE3 #E38EA0 #CAE38E #8EE3D2
square
#A78EE3 #E38EA0 #CAE38E #8EE3D2
split-complementary
#A78EE3 #E3D28E #A0E38E
monochromatic
#5D31C6 #815DD7 #A78EE3 #CDBFEF #ECE6F9

Accessibility & contrast

On white

2.76
#A78EE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#A78EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78EE3
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78EE3#FFFFFF#000000##000000
##A78EE31.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#789CE6
Deuteranopia (green-blind)
#7B9BE1
Tritanopia (blue-blind)
#9B9DAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a78ee3;
/* rgb */ color: rgb(167, 142, 227);
/* oklch */ color: oklch(70.3% 0.124 296.6);
Tailwind
colors: {
  custom: {
    50: '#c3afec',
    500: '#a78ee3',
    950: '#000000',
  },
}
SCSS
$custom: #a78ee3;
$custom-light: #c3afec;
$custom-dark: #000000;
JSON
{
  "hex": "#a78ee3",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 227
  },
  "hsl": {
    "h": 257.647,
    "s": 60.284,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70251,
    "c": 0.12401,
    "h": 296.6
  },
  "luminance": 0.33108
}

Semantic roles & 50–950 ramp

primary
#A78EE3
secondary
#EAF0DB
accent
#C81E96
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A78EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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