#A78EE6#A78EE6

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

Color values

HEX#A78EE6
RGBrgb(167, 142, 230)
HSLhsl(257, 64%, 73%)
HSVhsv(257, 38%, 90%)
CMYKcmyk(27.4%, 38.3%, 0%, 9.8%)
CIE-LABlab(64.38, 27.87, -41.25)
CIE-LCHlch(64.38, 49.79, 304.04°)
OKLaboklab(70.4% 0.0562 -0.1151)
OKLCHoklch(70.4% 0.128 296)
XYZxyz(39.8889, 33.2742, 79.1686)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78EE6 #CDE68E
analogous
#8EA1E6 #A78EE6 #D38EE6
triadic
#A78EE6 #E6A78E #8EE6A7
tetradic
#A78EE6 #E68EA1 #CDE68E #8EE6D3
square
#A78EE6 #E68EA1 #CDE68E #8EE6D3
split-complementary
#A78EE6 #E6D38E #A1E68E
monochromatic
#5A2DCC #805CDB #A78EE6 #CEC0F1 #EBE6F9

Accessibility & contrast

On white

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

On black

7.65
#A78EE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78EE6
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78EE6#FFFFFF#000000##000000
##A78EE61.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DE9
Deuteranopia (green-blind)
#7A9BE4
Tritanopia (blue-blind)
#9A9DAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a78ee6;
/* rgb */ color: rgb(167, 142, 230);
/* oklch */ color: oklch(70.4% 0.128 296.0);
Tailwind
colors: {
  custom: {
    50: '#c3afee',
    500: '#a78ee6',
    950: '#000000',
  },
}
SCSS
$custom: #a78ee6;
$custom-light: #c3afee;
$custom-dark: #000000;
JSON
{
  "hex": "#a78ee6",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 230
  },
  "hsl": {
    "h": 257.045,
    "s": 63.768,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70398,
    "c": 0.12804,
    "h": 296
  },
  "luminance": 0.33275
}

Semantic roles & 50–950 ramp

primary
#A78EE6
secondary
#EAF1DA
accent
#CC1A99
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A78EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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