#A78BEE#A78BEE

#A78BEE is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.3% C 0.143 H 295.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#A78BEE
RGBrgb(167, 139, 238)
HSLhsl(257, 74%, 74%)
HSVhsv(257, 42%, 93%)
CMYKcmyk(29.8%, 41.6%, 0%, 6.7%)
CIE-LABlab(64.04, 31.54, -46.21)
CIE-LCHlch(64.04, 55.95, 304.32°)
OKLaboklab(70.26% 0.0617 -0.1294)
OKLCHoklch(70.26% 0.143 295.5)
XYZxyz(40.5978, 32.8532, 85.0747)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78BEE #D2EE8B
analogous
#8BA1EE #A78BEE #D98BEE
triadic
#A78BEE #EEA78B #8BEEA7
tetradic
#A78BEE #EE8BA1 #D2EE8B #8BEED9
square
#A78BEE #EE8BA1 #D2EE8B #8BEED9
split-complementary
#A78BEE #EED98B #A1EE8B
monochromatic
#5621DE #7F56E6 #A78BEE #CFC0F6 #EBE4FB

Accessibility & contrast

On white

2.77
#A78BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#A78BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78BEE
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78BEE#FFFFFF#000000##000000
##A78BEE1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF2
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#989DB1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a78bee;
/* rgb */ color: rgb(167, 139, 238);
/* oklch */ color: oklch(70.3% 0.143 295.5);
Tailwind
colors: {
  custom: {
    50: '#c3adf4',
    500: '#a78bee',
    950: '#000000',
  },
}
SCSS
$custom: #a78bee;
$custom-light: #c3adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a78bee",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 256.97,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70262,
    "c": 0.14337,
    "h": 295.5
  },
  "luminance": 0.32854
}

Semantic roles & 50–950 ramp

primary
#A78BEE
secondary
#EBF3D8
accent
#D70F9E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A78BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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