#A78BF7#A78BF7

#A78BF7 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.7% C 0.155 H 294.0°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A78BF7
RGBrgb(167, 139, 247)
HSLhsl(256, 87%, 76%)
HSVhsv(256, 44%, 97%)
CMYKcmyk(32.4%, 43.7%, 0%, 3.1%)
CIE-LABlab(64.48, 33.80, -50.47)
CIE-LCHlch(64.48, 60.74, 303.81°)
OKLaboklab(70.74% 0.0632 -0.1418)
OKLCHoklch(70.74% 0.155 294)
XYZxyz(41.9532, 33.3954, 92.2133)
Luminance0.3340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78BF7 #DBF78B
analogous
#8BA5F7 #A78BF7 #DD8BF7
triadic
#A78BF7 #F7A78B #8BF7A7
tetradic
#A78BF7 #F78BA5 #DBF78B #8BF7DD
square
#A78BF7 #F78BA5 #DBF78B #8BF7DD
split-complementary
#A78BF7 #F7DD8B #A5F78B
monochromatic
#5018EF #7C52F3 #A78BF7 #D2C4FB #E9E2FD

Accessibility & contrast

On white

2.73
#A78BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#A78BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78BF7
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78BF7#FFFFFF#000000##000000
##A78BF71.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a78bf7;
/* rgb */ color: rgb(167, 139, 247);
/* oklch */ color: oklch(70.7% 0.155 294.0);
Tailwind
colors: {
  custom: {
    50: '#c4adfa',
    500: '#a78bf7',
    950: '#000000',
  },
}
SCSS
$custom: #a78bf7;
$custom-light: #c4adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a78bf7",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 255.556,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70735,
    "c": 0.15524,
    "h": 294
  },
  "luminance": 0.33396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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