#A78EEE#A78EEE

#A78EEE is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.8% C 0.139 H 294.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#A78EEE
RGBrgb(167, 142, 238)
HSLhsl(256, 74%, 75%)
HSVhsv(256, 40%, 93%)
CMYKcmyk(29.8%, 40.3%, 0%, 6.7%)
CIE-LABlab(64.75, 29.84, -45.09)
CIE-LCHlch(64.75, 54.07, 303.50°)
OKLaboklab(70.8% 0.0577 -0.1262)
OKLCHoklch(70.8% 0.139 294.6)
XYZxyz(41.0382, 33.7339, 85.2215)
Luminance0.3373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78EEE #D5EE8E
analogous
#8EA5EE #A78EEE #D78EEE
triadic
#A78EEE #EEA78E #8EEEA7
tetradic
#A78EEE #EE8EA5 #D5EE8E #8EEED7
square
#A78EEE #EE8EA5 #D5EE8E #8EEED7
split-complementary
#A78EEE #EED78E #A5EE8E
monochromatic
#5424DE #7E59E6 #A78EEE #D0C3F6 #EAE4FB

Accessibility & contrast

On white

2.71
#A78EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#A78EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78EEE
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78EEE#FFFFFF#000000##000000
##A78EEE1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF2
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#979FB3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a78eee;
/* rgb */ color: rgb(167, 142, 238);
/* oklch */ color: oklch(70.8% 0.139 294.6);
Tailwind
colors: {
  custom: {
    50: '#c3aff4',
    500: '#a78eee',
    950: '#000000',
  },
}
SCSS
$custom: #a78eee;
$custom-light: #c3aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#a78eee",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 255.625,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70799,
    "c": 0.13874,
    "h": 294.6
  },
  "luminance": 0.33735
}

Semantic roles & 50–950 ramp

primary
#A78EEE
secondary
#ECF3D8
accent
#D610A2
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A78EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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