#A78EE2#A78EE2

#A78EE2 is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.2% C 0.123 H 296.8°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#A78EE2
RGBrgb(167, 142, 226)
HSLhsl(258, 59%, 72%)
HSVhsv(258, 37%, 89%)
CMYKcmyk(26.1%, 37.2%, 0%, 11.4%)
CIE-LABlab(64.20, 26.90, -39.32)
CIE-LCHlch(64.20, 47.64, 304.38°)
OKLaboklab(70.2% 0.0553 -0.1095)
OKLCHoklch(70.2% 0.123 296.8)
XYZxyz(39.3336, 33.0521, 76.2442)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78EE2 #C9E28E
analogous
#8E9FE2 #A78EE2 #D18EE2
triadic
#A78EE2 #E2A78E #8EE2A7
tetradic
#A78EE2 #E28E9F #C9E28E #8EE2D1
square
#A78EE2 #E28E9F #C9E28E #8EE2D1
split-complementary
#A78EE2 #E2D18E #9FE28E
monochromatic
#5D32C3 #815DD6 #A78EE2 #CDBFEE #ECE7F9

Accessibility & contrast

On white

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

On black

7.61
#A78EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78EE2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78EE2#FFFFFF#000000##000000
##A78EE21.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#789CE5
Deuteranopia (green-blind)
#7C9BE0
Tritanopia (blue-blind)
#9B9CAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a78ee2;
/* rgb */ color: rgb(167, 142, 226);
/* oklch */ color: oklch(70.2% 0.123 296.8);
Tailwind
colors: {
  custom: {
    50: '#c3afeb',
    500: '#a78ee2',
    950: '#000000',
  },
}
SCSS
$custom: #a78ee2;
$custom-light: #c3afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#a78ee2",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 257.857,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70203,
    "c": 0.12266,
    "h": 296.8
  },
  "luminance": 0.33052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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