#A78CE6#A78CE6

#A78CE6 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.0% C 0.131 H 296.7°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#A78CE6
RGBrgb(167, 140, 230)
HSLhsl(258, 64%, 73%)
HSVhsv(258, 39%, 90%)
CMYKcmyk(27.4%, 39.1%, 0%, 9.8%)
CIE-LABlab(63.90, 29.01, -42.00)
CIE-LCHlch(63.90, 51.04, 304.63°)
OKLaboklab(70.04% 0.0589 -0.1172)
OKLCHoklch(70.04% 0.131 296.7)
XYZxyz(39.5940, 32.6844, 79.0703)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78CE6 #CBE68C
analogous
#8C9EE6 #A78CE6 #D48CE6
triadic
#A78CE6 #E6A78C #8CE6A7
tetradic
#A78CE6 #E68C9E #CBE68C #8CE6D4
square
#A78CE6 #E68C9E #CBE68C #8CE6D4
split-complementary
#A78CE6 #E6D48C #9EE68C
monochromatic
#5C2CCB #815ADB #A78CE6 #CDBEF1 #ECE6FA

Accessibility & contrast

On white

2.79
#A78CE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#A78CE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78CE6
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78CE6#FFFFFF#000000##000000
##A78CE61.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#739BE9
Deuteranopia (green-blind)
#789AE4
Tritanopia (blue-blind)
#9A9CAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a78ce6;
/* rgb */ color: rgb(167, 140, 230);
/* oklch */ color: oklch(70.0% 0.131 296.7);
Tailwind
colors: {
  custom: {
    50: '#c3aeee',
    500: '#a78ce6',
    950: '#000000',
  },
}
SCSS
$custom: #a78ce6;
$custom-light: #c3aeee;
$custom-dark: #000000;
JSON
{
  "hex": "#a78ce6",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 230
  },
  "hsl": {
    "h": 258,
    "s": 64.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70035,
    "c": 0.13119,
    "h": 296.7
  },
  "luminance": 0.32685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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