#A78EFE#A78EFE

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

Color values

HEX#A78EFE
RGBrgb(167, 142, 254)
HSLhsl(253, 98%, 78%)
HSVhsv(253, 44%, 100%)
CMYKcmyk(34.3%, 44.1%, 0%, 0.4%)
CIE-LABlab(65.53, 33.89, -52.64)
CIE-LCHlch(65.53, 62.61, 302.77°)
OKLaboklab(71.64% 0.0603 -0.1482)
OKLCHoklch(71.64% 0.16 292.1)
XYZxyz(43.4941, 34.7163, 98.1561)
Luminance0.3472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78EFE #E5FE8E
analogous
#8EADFE #A78EFE #DF8EFE
triadic
#A78EFE #FEA78E #8EFEA7
tetradic
#A78EFE #FE8EAD #E5FE8E #8EFEDF
square
#A78EFE #FE8EAD #E5FE8E #8EFEDF
split-complementary
#A78EFE #FEDF8E #ADFE8E
monochromatic
#4915FD #7851FD #A78EFE #D6CBFF #E7E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A78EFE#FFFFFF#000000##000000
##A78EFE1.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)
#69A1FF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#92A3BA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a78efe;
/* rgb */ color: rgb(167, 142, 254);
/* oklch */ color: oklch(71.6% 0.160 292.1);
Tailwind
colors: {
  custom: {
    50: '#c4afff',
    500: '#a78efe',
    950: '#000000',
  },
}
SCSS
$custom: #a78efe;
$custom-light: #c4afff;
$custom-dark: #000000;
JSON
{
  "hex": "#a78efe",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 253.393,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.71639,
    "c": 0.15995,
    "h": 292.1
  },
  "luminance": 0.34717
}

Semantic roles & 50–950 ramp

primary
#A78EFE
secondary
#EFF7D4
accent
#E600B2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A78EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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