#A78CE8#A78CE8

#A78CE8 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.1% C 0.134 H 296.3°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#A78CE8
RGBrgb(167, 140, 232)
HSLhsl(258, 67%, 73%)
HSVhsv(258, 40%, 91%)
CMYKcmyk(28%, 39.7%, 0%, 9%)
CIE-LABlab(64.00, 29.50, -42.96)
CIE-LCHlch(64.00, 52.11, 304.47°)
OKLaboklab(70.14% 0.0593 -0.12)
OKLCHoklch(70.14% 0.134 296.3)
XYZxyz(39.8764, 32.7974, 80.5579)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78CE8 #CDE88C
analogous
#8C9FE8 #A78CE8 #D58CE8
triadic
#A78CE8 #E8A78C #8CE8A7
tetradic
#A78CE8 #E88C9F #CDE88C #8CE8D5
square
#A78CE8 #E88C9F #CDE88C #8CE8D5
split-complementary
#A78CE8 #E8D58C #9FE88C
monochromatic
#5A2AD0 #8059DE #A78CE8 #CEBFF2 #EBE5FA

Accessibility & contrast

On white

2.78
#A78CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#A78CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78CE8
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78CE8#FFFFFF#000000##000000
##A78CE81.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CEC
Deuteranopia (green-blind)
#779AE6
Tritanopia (blue-blind)
#999CAF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a78ce8;
/* rgb */ color: rgb(167, 140, 232);
/* oklch */ color: oklch(70.1% 0.134 296.3);
Tailwind
colors: {
  custom: {
    50: '#c3aeef',
    500: '#a78ce8',
    950: '#000000',
  },
}
SCSS
$custom: #a78ce8;
$custom-light: #c3aeef;
$custom-dark: #000000;
JSON
{
  "hex": "#a78ce8",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 232
  },
  "hsl": {
    "h": 257.609,
    "s": 66.667,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70135,
    "c": 0.13386,
    "h": 296.3
  },
  "luminance": 0.32798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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