#A78EF9#A78EF9

#A78EF9 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.4% C 0.153 H 292.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A78EF9
RGBrgb(167, 142, 249)
HSLhsl(254, 90%, 77%)
HSVhsv(254, 43%, 98%)
CMYKcmyk(32.9%, 43%, 0%, 2.4%)
CIE-LABlab(65.28, 32.61, -50.30)
CIE-LCHlch(65.28, 59.95, 302.96°)
OKLaboklab(71.37% 0.0595 -0.1413)
OKLCHoklch(71.37% 0.153 292.8)
XYZxyz(42.7038, 34.4002, 93.9942)
Luminance0.3440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78EF9 #E0F98E
analogous
#8EABF9 #A78EF9 #DD8EF9
triadic
#A78EF9 #F9A78E #8EF9A7
tetradic
#A78EF9 #F98EAB #E0F98E #8EF9DD
square
#A78EF9 #F98EAB #E0F98E #8EF9DD
split-complementary
#A78EF9 #F9DD8E #ABF98E
monochromatic
#4C1AF3 #7A54F6 #A78EF9 #D4C8FC #E8E2FD

Accessibility & contrast

On white

2.66
#A78EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#A78EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78EF9
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78EF9#FFFFFF#000000##000000
##A78EF91.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FD
Deuteranopia (green-blind)
#6F9DF6
Tritanopia (blue-blind)
#94A2B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a78ef9;
/* rgb */ color: rgb(167, 142, 249);
/* oklch */ color: oklch(71.4% 0.153 292.8);
Tailwind
colors: {
  custom: {
    50: '#c4affc',
    500: '#a78ef9',
    950: '#000000',
  },
}
SCSS
$custom: #a78ef9;
$custom-light: #c4affc;
$custom-dark: #000000;
JSON
{
  "hex": "#a78ef9",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 254.019,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71371,
    "c": 0.15335,
    "h": 292.8
  },
  "luminance": 0.34401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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