#A78BF6#A78BF6

#A78BF6 is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.7% C 0.154 H 294.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#A78BF6
RGBrgb(167, 139, 246)
HSLhsl(256, 86%, 75%)
HSVhsv(256, 43%, 96%)
CMYKcmyk(32.1%, 43.5%, 0%, 3.5%)
CIE-LABlab(64.43, 33.55, -49.99)
CIE-LCHlch(64.43, 60.21, 303.86°)
OKLaboklab(70.68% 0.063 -0.1404)
OKLCHoklch(70.68% 0.154 294.2)
XYZxyz(41.7993, 33.3338, 91.4028)
Luminance0.3333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78BF6 #DAF68B
analogous
#8BA4F6 #A78BF6 #DC8BF6
triadic
#A78BF6 #F6A78B #8BF6A7
tetradic
#A78BF6 #F68BA4 #DAF68B #8BF6DC
square
#A78BF6 #F68BA4 #DAF68B #8BF6DC
split-complementary
#A78BF6 #F6DC8B #A4F68B
monochromatic
#5119ED #7C52F2 #A78BF6 #D2C4FA #E9E3FD

Accessibility & contrast

On white

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

On black

7.67
#A78BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78BF6
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78BF6#FFFFFF#000000##000000
##A78BF61.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DFA
Deuteranopia (green-blind)
#6D9BF3
Tritanopia (blue-blind)
#959FB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a78bf6;
/* rgb */ color: rgb(167, 139, 246);
/* oklch */ color: oklch(70.7% 0.154 294.2);
Tailwind
colors: {
  custom: {
    50: '#c4adf9',
    500: '#a78bf6',
    950: '#000000',
  },
}
SCSS
$custom: #a78bf6;
$custom-light: #c4adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a78bf6",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 255.701,
    "s": 85.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70682,
    "c": 0.15392,
    "h": 294.2
  },
  "luminance": 0.33335
}

Semantic roles & 50–950 ramp

primary
#A78BF6
secondary
#EDF5D6
accent
#E203A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A78BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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