#A78DEB#A78DEB

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

Color values

HEX#A78DEB
RGBrgb(167, 141, 235)
HSLhsl(257, 70%, 74%)
HSVhsv(257, 40%, 92%)
CMYKcmyk(28.9%, 40%, 0%, 7.8%)
CIE-LABlab(64.37, 29.67, -44.03)
CIE-LCHlch(64.37, 53.09, 303.97°)
OKLaboklab(70.47% 0.0585 -0.1231)
OKLCHoklch(70.47% 0.136 295.4)
XYZxyz(40.4530, 33.2629, 82.8703)
Luminance0.3326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78DEB #D1EB8D
analogous
#8DA2EB #A78DEB #D68DEB
triadic
#A78DEB #EBA78D #8DEBA7
tetradic
#A78DEB #EB8DA2 #D1EB8D #8DEBD6
square
#A78DEB #EB8DA2 #D1EB8D #8DEBD6
split-complementary
#A78DEB #EBD68D #A2EB8D
monochromatic
#5726D8 #7F59E2 #A78DEB #CFC1F4 #EBE5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A78DEB#FFFFFF#000000##000000
##A78DEB1.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)
#729DEF
Deuteranopia (green-blind)
#769BE9
Tritanopia (blue-blind)
#989EB1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a78deb;
/* rgb */ color: rgb(167, 141, 235);
/* oklch */ color: oklch(70.5% 0.136 295.4);
Tailwind
colors: {
  custom: {
    50: '#c3aef2',
    500: '#a78deb',
    950: '#000000',
  },
}
SCSS
$custom: #a78deb;
$custom-light: #c3aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a78deb",
  "rgb": {
    "r": 167,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 256.596,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70466,
    "c": 0.13629,
    "h": 295.4
  },
  "luminance": 0.33263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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