#A78FF9#A78FF9

#A78FF9 is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.5% C 0.152 H 292.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A78FF9
RGBrgb(167, 143, 249)
HSLhsl(254, 90%, 77%)
HSVhsv(254, 43%, 98%)
CMYKcmyk(32.9%, 42.6%, 0%, 2.4%)
CIE-LABlab(65.51, 32.05, -49.93)
CIE-LCHlch(65.51, 59.33, 302.70°)
OKLaboklab(71.55% 0.0582 -0.1402)
OKLCHoklch(71.55% 0.152 292.6)
XYZxyz(42.8533, 34.6991, 94.0440)
Luminance0.3470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78FF9 #E1F98F
analogous
#8FACF9 #A78FF9 #DC8FF9
triadic
#A78FF9 #F9A78F #8FF9A7
tetradic
#A78FF9 #F98FAC #E1F98F #8FF9DC
square
#A78FF9 #F98FAC #E1F98F #8FF9DC
split-complementary
#A78FF9 #F9DC8F #ACF98F
monochromatic
#4C1BF3 #7955F6 #A78FF9 #D5C9FC #E8E2FD

Accessibility & contrast

On white

2.64
#A78FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#A78FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78FF9
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78FF9#FFFFFF#000000##000000
##A78FF91.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FD
Deuteranopia (green-blind)
#709DF6
Tritanopia (blue-blind)
#94A3B8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a78ff9;
/* rgb */ color: rgb(167, 143, 249);
/* oklch */ color: oklch(71.5% 0.152 292.6);
Tailwind
colors: {
  custom: {
    50: '#c4b0fc',
    500: '#a78ff9',
    950: '#000000',
  },
}
SCSS
$custom: #a78ff9;
$custom-light: #c4b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a78ff9",
  "rgb": {
    "r": 167,
    "g": 143,
    "b": 249
  },
  "hsl": {
    "h": 253.585,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.71548,
    "c": 0.15185,
    "h": 292.6
  },
  "luminance": 0.347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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