#A78EFA#A78EFA

#A78EFA is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.4% C 0.155 H 292.7°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A78EFA
RGBrgb(167, 142, 250)
HSLhsl(254, 92%, 77%)
HSVhsv(254, 43%, 98%)
CMYKcmyk(33.2%, 43.2%, 0%, 2%)
CIE-LABlab(65.33, 32.87, -50.77)
CIE-LCHlch(65.33, 60.48, 302.92°)
OKLaboklab(71.42% 0.0597 -0.1427)
OKLCHoklch(71.42% 0.155 292.7)
XYZxyz(42.8602, 34.4628, 94.8178)
Luminance0.3446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78EFA #E1FA8E
analogous
#8EABFA #A78EFA #DD8EFA
triadic
#A78EFA #FAA78E #8EFAA7
tetradic
#A78EFA #FA8EAB #E1FA8E #8EFADD
square
#A78EFA #FA8EAB #E1FA8E #8EFADD
split-complementary
#A78EFA #FADD8E #ABFA8E
monochromatic
#4C19F5 #7953F7 #A78EFA #D5C9FD #E8E2FE

Accessibility & contrast

On white

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

On black

7.89
#A78EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78EFA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78EFA#FFFFFF#000000##000000
##A78EFA1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#6E9DF7
Tritanopia (blue-blind)
#93A2B8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a78efa;
/* rgb */ color: rgb(167, 142, 250);
/* oklch */ color: oklch(71.4% 0.155 292.7);
Tailwind
colors: {
  custom: {
    50: '#c4affc',
    500: '#a78efa',
    950: '#000000',
  },
}
SCSS
$custom: #a78efa;
$custom-light: #c4affc;
$custom-dark: #000000;
JSON
{
  "hex": "#a78efa",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 253.889,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.71424,
    "c": 0.15467,
    "h": 292.7
  },
  "luminance": 0.34464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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