#A78EEB#A78EEB

#A78EEB is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.6% C 0.135 H 295.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A78EEB
RGBrgb(167, 142, 235)
HSLhsl(256, 70%, 74%)
HSVhsv(256, 40%, 92%)
CMYKcmyk(28.9%, 39.6%, 0%, 7.8%)
CIE-LABlab(64.61, 29.10, -43.66)
CIE-LCHlch(64.61, 52.47, 303.69°)
OKLaboklab(70.65% 0.0572 -0.122)
OKLCHoklch(70.65% 0.135 295.1)
XYZxyz(40.6011, 33.5591, 82.9196)
Luminance0.3356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78EEB #D2EB8E
analogous
#8EA4EB #A78EEB #D68EEB
triadic
#A78EEB #EBA78E #8EEBA7
tetradic
#A78EEB #EB8EA4 #D2EB8E #8EEBD6
square
#A78EEB #EB8EA4 #D2EB8E #8EEBD6
split-complementary
#A78EEB #EBD68E #A4EB8E
monochromatic
#5626D8 #7F5AE2 #A78EEB #CFC2F4 #EBE5FA

Accessibility & contrast

On white

2.72
#A78EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A78EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78EEB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78EEB#FFFFFF#000000##000000
##A78EEB1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#749DEF
Deuteranopia (green-blind)
#779BE9
Tritanopia (blue-blind)
#989EB1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a78eeb;
/* rgb */ color: rgb(167, 142, 235);
/* oklch */ color: oklch(70.6% 0.135 295.1);
Tailwind
colors: {
  custom: {
    50: '#c3aff2',
    500: '#a78eeb',
    950: '#000000',
  },
}
SCSS
$custom: #a78eeb;
$custom-light: #c3aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#a78eeb",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 256.129,
    "s": 69.925,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70647,
    "c": 0.13473,
    "h": 295.1
  },
  "luminance": 0.3356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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