#A78DEC#A78DEC

#A78DEC is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.5% C 0.138 H 295.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#A78DEC
RGBrgb(167, 141, 236)
HSLhsl(256, 71%, 74%)
HSVhsv(256, 40%, 93%)
CMYKcmyk(29.2%, 40.3%, 0%, 7.5%)
CIE-LABlab(64.42, 29.91, -44.51)
CIE-LCHlch(64.42, 53.63, 303.91°)
OKLaboklab(70.52% 0.0587 -0.1245)
OKLCHoklch(70.52% 0.138 295.2)
XYZxyz(40.5978, 33.3208, 83.6333)
Luminance0.3332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78DEC #D2EC8D
analogous
#8DA3EC #A78DEC #D78DEC
triadic
#A78DEC #ECA78D #8DECA7
tetradic
#A78DEC #EC8DA3 #D2EC8D #8DECD7
square
#A78DEC #EC8DA3 #D2EC8D #8DECD7
split-complementary
#A78DEC #ECD78D #A3EC8D
monochromatic
#5624DA #7F59E3 #A78DEC #CFC1F5 #EBE5FB

Accessibility & contrast

On white

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

On black

7.66
#A78DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78DEC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78DEC#FFFFFF#000000##000000
##A78DEC1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#769BEA
Tritanopia (blue-blind)
#989EB1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a78dec;
/* rgb */ color: rgb(167, 141, 236);
/* oklch */ color: oklch(70.5% 0.138 295.2);
Tailwind
colors: {
  custom: {
    50: '#c3aef2',
    500: '#a78dec',
    950: '#000000',
  },
}
SCSS
$custom: #a78dec;
$custom-light: #c3aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a78dec",
  "rgb": {
    "r": 167,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 256.421,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70517,
    "c": 0.13763,
    "h": 295.2
  },
  "luminance": 0.33321
}

Semantic roles & 50–950 ramp

primary
#A78DEC
secondary
#EBF2D9
accent
#D3129F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A78DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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