#A78CF9#A78CF9

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

Color values

HEX#A78CF9
RGBrgb(167, 140, 249)
HSLhsl(255, 90%, 76%)
HSVhsv(255, 44%, 98%)
CMYKcmyk(32.9%, 43.8%, 0%, 2.4%)
CIE-LABlab(64.81, 33.74, -51.04)
CIE-LCHlch(64.81, 61.18, 303.47°)
OKLaboklab(71.02% 0.0621 -0.1435)
OKLCHoklch(71.02% 0.156 293.4)
XYZxyz(42.4089, 33.8104, 93.8959)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78CF9 #DEF98C
analogous
#8CA8F9 #A78CF9 #DE8CF9
triadic
#A78CF9 #F9A78C #8CF9A7
tetradic
#A78CF9 #F98CA8 #DEF98C #8CF9DE
square
#A78CF9 #F98CA8 #DEF98C #8CF9DE
split-complementary
#A78CF9 #F9DE8C #A8F98C
monochromatic
#4E18F3 #7A52F6 #A78CF9 #D4C6FC #E9E2FD

Accessibility & contrast

On white

2.71
#A78CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#A78CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78CF9
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78CF9#FFFFFF#000000##000000
##A78CF91.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFD
Deuteranopia (green-blind)
#6D9BF6
Tritanopia (blue-blind)
#94A0B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a78cf9;
/* rgb */ color: rgb(167, 140, 249);
/* oklch */ color: oklch(71.0% 0.156 293.4);
Tailwind
colors: {
  custom: {
    50: '#c4aefc',
    500: '#a78cf9',
    950: '#000000',
  },
}
SCSS
$custom: #a78cf9;
$custom-light: #c4aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#a78cf9",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 254.862,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71018,
    "c": 0.15636,
    "h": 293.4
  },
  "luminance": 0.33811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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