#A78CF8#A78CF8

#A78CF8 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.0% C 0.155 H 293.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#A78CF8
RGBrgb(167, 140, 248)
HSLhsl(255, 89%, 76%)
HSVhsv(255, 44%, 97%)
CMYKcmyk(32.7%, 43.5%, 0%, 2.7%)
CIE-LABlab(64.76, 33.49, -50.57)
CIE-LCHlch(64.76, 60.65, 303.52°)
OKLaboklab(70.97% 0.062 -0.1421)
OKLCHoklch(70.97% 0.155 293.6)
XYZxyz(42.2534, 33.7482, 93.0766)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78CF8 #DDF88C
analogous
#8CA7F8 #A78CF8 #DD8CF8
triadic
#A78CF8 #F8A78C #8CF8A7
tetradic
#A78CF8 #F88CA7 #DDF88C #8CF8DD
square
#A78CF8 #F88CA7 #DDF88C #8CF8DD
split-complementary
#A78CF8 #F8DD8C #A7F88C
monochromatic
#4F19F1 #7B52F4 #A78CF8 #D3C6FC #E9E2FD

Accessibility & contrast

On white

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

On black

7.75
#A78CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78CF8
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78CF8#FFFFFF#000000##000000
##A78CF81.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFC
Deuteranopia (green-blind)
#6D9BF5
Tritanopia (blue-blind)
#94A0B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a78cf8;
/* rgb */ color: rgb(167, 140, 248);
/* oklch */ color: oklch(71.0% 0.155 293.6);
Tailwind
colors: {
  custom: {
    50: '#c4aefb',
    500: '#a78cf8',
    950: '#000000',
  },
}
SCSS
$custom: #a78cf8;
$custom-light: #c4aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#a78cf8",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 255,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70965,
    "c": 0.15504,
    "h": 293.6
  },
  "luminance": 0.33749
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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