#A78EE7#A78EE7

#A78EE7 is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.4% C 0.129 H 295.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#A78EE7
RGBrgb(167, 142, 231)
HSLhsl(257, 65%, 73%)
HSVhsv(257, 39%, 91%)
CMYKcmyk(27.7%, 38.5%, 0%, 9.4%)
CIE-LABlab(64.43, 28.12, -41.73)
CIE-LCHlch(64.43, 50.32, 303.97°)
OKLaboklab(70.45% 0.0564 -0.1164)
OKLCHoklch(70.45% 0.129 295.8)
XYZxyz(40.0297, 33.3305, 79.9103)
Luminance0.3333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78EE7 #CEE78E
analogous
#8EA1E7 #A78EE7 #D38EE7
triadic
#A78EE7 #E7A78E #8EE7A7
tetradic
#A78EE7 #E78EA1 #CEE78E #8EE7D3
square
#A78EE7 #E78EA1 #CEE78E #8EE7D3
split-complementary
#A78EE7 #E7D38E #A1E78E
monochromatic
#5A2CCF #805CDC #A78EE7 #CEC0F2 #EBE6FA

Accessibility & contrast

On white

2.74
#A78EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#A78EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78EE7
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78EE7#FFFFFF#000000##000000
##A78EE71.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DEA
Deuteranopia (green-blind)
#799BE5
Tritanopia (blue-blind)
#9A9DB0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a78ee7;
/* rgb */ color: rgb(167, 142, 231);
/* oklch */ color: oklch(70.4% 0.129 295.8);
Tailwind
colors: {
  custom: {
    50: '#c3afef',
    500: '#a78ee7',
    950: '#000000',
  },
}
SCSS
$custom: #a78ee7;
$custom-light: #c3afef;
$custom-dark: #000000;
JSON
{
  "hex": "#a78ee7",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 256.854,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70447,
    "c": 0.12938,
    "h": 295.8
  },
  "luminance": 0.33331
}

Semantic roles & 50–950 ramp

primary
#A78EE7
secondary
#EBF1DA
accent
#CD199A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A78EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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