#A78BFB#A78BFB

#A78BFB is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.0% C 0.160 H 293.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#A78BFB
RGBrgb(167, 139, 251)
HSLhsl(255, 93%, 76%)
HSVhsv(255, 45%, 98%)
CMYKcmyk(33.5%, 44.6%, 0%, 1.6%)
CIE-LABlab(64.68, 34.82, -52.34)
CIE-LCHlch(64.68, 62.86, 303.63°)
OKLaboklab(70.95% 0.0637 -0.1473)
OKLCHoklch(70.95% 0.16 293.4)
XYZxyz(42.5771, 33.6449, 95.4990)
Luminance0.3365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78BFB #DFFB8B
analogous
#8BA7FB #A78BFB #DF8BFB
triadic
#A78BFB #FBA78B #8BFBA7
tetradic
#A78BFB #FB8BA7 #DFFB8B #8BFBDF
square
#A78BFB #FB8BA7 #DFFB8B #8BFBDF
split-complementary
#A78BFB #FBDF8B #A7FB8B
monochromatic
#4D15F7 #7A50F9 #A78BFB #D4C6FD #E9E1FE

Accessibility & contrast

On white

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

On black

7.73
#A78BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78BFB
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78BFB#FFFFFF#000000##000000
##A78BFB1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#6A9BF8
Tritanopia (blue-blind)
#93A0B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a78bfb;
/* rgb */ color: rgb(167, 139, 251);
/* oklch */ color: oklch(71.0% 0.160 293.4);
Tailwind
colors: {
  custom: {
    50: '#c4adfd',
    500: '#a78bfb',
    950: '#000000',
  },
}
SCSS
$custom: #a78bfb;
$custom-light: #c4adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a78bfb",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 255,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70951,
    "c": 0.16048,
    "h": 293.4
  },
  "luminance": 0.33646
}

Semantic roles & 50–950 ramp

primary
#A78BFB
secondary
#EEF6D5
accent
#E600AC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A78BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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