#A78BFA#A78BFA

#A78BFA is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.9% C 0.159 H 293.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#A78BFA
RGBrgb(167, 139, 250)
HSLhsl(255, 92%, 76%)
HSVhsv(255, 44%, 98%)
CMYKcmyk(33.2%, 44.4%, 0%, 2%)
CIE-LABlab(64.63, 34.56, -51.87)
CIE-LCHlch(64.63, 62.33, 303.67°)
OKLaboklab(70.9% 0.0636 -0.1459)
OKLCHoklch(70.9% 0.159 293.5)
XYZxyz(42.4199, 33.5820, 94.6710)
Luminance0.3358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78BFA #DEFA8B
analogous
#8BA7FA #A78BFA #DF8BFA
triadic
#A78BFA #FAA78B #8BFAA7
tetradic
#A78BFA #FA8BA7 #DEFA8B #8BFADF
square
#A78BFA #FA8BA7 #DEFA8B #8BFADF
split-complementary
#A78BFA #FADF8B #A7FA8B
monochromatic
#4E16F5 #7A50F7 #A78BFA #D4C6FD #E9E2FE

Accessibility & contrast

On white

2.72
#A78BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#A78BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78BFA
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78BFA#FFFFFF#000000##000000
##A78BFA1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#6B9BF7
Tritanopia (blue-blind)
#94A0B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a78bfa;
/* rgb */ color: rgb(167, 139, 250);
/* oklch */ color: oklch(70.9% 0.159 293.5);
Tailwind
colors: {
  custom: {
    50: '#c4adfc',
    500: '#a78bfa',
    950: '#000000',
  },
}
SCSS
$custom: #a78bfa;
$custom-light: #c4adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a78bfa",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 255.135,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70897,
    "c": 0.15917,
    "h": 293.5
  },
  "luminance": 0.33583
}

Semantic roles & 50–950 ramp

primary
#A78BFA
secondary
#EEF6D5
accent
#E600AC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A78BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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