#A78BED#A78BED

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

Color values

HEX#A78BED
RGBrgb(167, 139, 237)
HSLhsl(257, 73%, 74%)
HSVhsv(257, 41%, 93%)
CMYKcmyk(29.5%, 41.4%, 0%, 7.1%)
CIE-LABlab(63.99, 31.30, -45.73)
CIE-LCHlch(63.99, 55.41, 304.39°)
OKLaboklab(70.21% 0.0616 -0.128)
OKLCHoklch(70.21% 0.142 295.7)
XYZxyz(40.4513, 32.7946, 84.3032)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78BED #D1ED8B
analogous
#8BA0ED #A78BED #D88BED
triadic
#A78BED #EDA78B #8BEDA7
tetradic
#A78BED #ED8BA0 #D1ED8B #8BEDD8
square
#A78BED #ED8BA0 #D1ED8B #8BEDD8
split-complementary
#A78BED #EDD88B #A0ED8B
monochromatic
#5722DC #7F56E5 #A78BED #CFC0F5 #EBE5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A78BED#FFFFFF#000000##000000
##A78BED1.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)
#6E9CF1
Deuteranopia (green-blind)
#739AEB
Tritanopia (blue-blind)
#989DB1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a78bed;
/* rgb */ color: rgb(167, 139, 237);
/* oklch */ color: oklch(70.2% 0.142 295.7);
Tailwind
colors: {
  custom: {
    50: '#c3adf3',
    500: '#a78bed',
    950: '#000000',
  },
}
SCSS
$custom: #a78bed;
$custom-light: #c3adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a78bed",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 257.143,
    "s": 73.134,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7021,
    "c": 0.14206,
    "h": 295.7
  },
  "luminance": 0.32795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78BED

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

Preview Lab → · Contrast checker → · Palette generator →

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