#A78EFB#A78EFB

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

Color values

HEX#A78EFB
RGBrgb(167, 142, 251)
HSLhsl(254, 93%, 77%)
HSVhsv(254, 43%, 98%)
CMYKcmyk(33.5%, 43.4%, 0%, 1.6%)
CIE-LABlab(65.38, 33.12, -51.24)
CIE-LCHlch(65.38, 61.01, 302.88°)
OKLaboklab(71.48% 0.0598 -0.1441)
OKLCHoklch(71.48% 0.156 292.6)
XYZxyz(43.0174, 34.5256, 95.6458)
Luminance0.3453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78EFB #E2FB8E
analogous
#8EACFB #A78EFB #DD8EFB
triadic
#A78EFB #FBA78E #8EFBA7
tetradic
#A78EFB #FB8EAC #E2FB8E #8EFBDD
square
#A78EFB #FB8EAC #E2FB8E #8EFBDD
split-complementary
#A78EFB #FBDD8E #ACFB8E
monochromatic
#4B18F7 #7953F9 #A78EFB #D5C9FD #E8E1FE

Accessibility & contrast

On white

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

On black

7.91
#A78EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78EFB
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78EFB#FFFFFF#000000##000000
##A78EFB1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#93A3B8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a78efb;
/* rgb */ color: rgb(167, 142, 251);
/* oklch */ color: oklch(71.5% 0.156 292.6);
Tailwind
colors: {
  custom: {
    50: '#c4affd',
    500: '#a78efb',
    950: '#000000',
  },
}
SCSS
$custom: #a78efb;
$custom-light: #c4affd;
$custom-dark: #000000;
JSON
{
  "hex": "#a78efb",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 253.761,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71478,
    "c": 0.15599,
    "h": 292.6
  },
  "luminance": 0.34527
}

Semantic roles & 50–950 ramp

primary
#A78EFB
secondary
#EFF6D5
accent
#E600B1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A78EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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