#A78EFD#A78EFD

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

Color values

HEX#A78EFD
RGBrgb(167, 142, 253)
HSLhsl(254, 97%, 77%)
HSVhsv(254, 44%, 99%)
CMYKcmyk(34%, 43.9%, 0%, 0.8%)
CIE-LABlab(65.48, 33.63, -52.17)
CIE-LCHlch(65.48, 62.07, 302.81°)
OKLaboklab(71.58% 0.0601 -0.1468)
OKLCHoklch(71.58% 0.159 292.3)
XYZxyz(43.3344, 34.6524, 97.3149)
Luminance0.3465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78EFD #E4FD8E
analogous
#8EACFD #A78EFD #DF8EFD
triadic
#A78EFD #FDA78E #8EFDA7
tetradic
#A78EFD #FD8EAC #E4FD8E #8EFDDF
square
#A78EFD #FD8EAC #E4FD8E #8EFDDF
split-complementary
#A78EFD #FDDF8E #ACFD8E
monochromatic
#4916FB #7852FC #A78EFD #D6CAFE #E8E1FE

Accessibility & contrast

On white

2.65
#A78EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#A78EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78EFD
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78EFD#FFFFFF#000000##000000
##A78EFD1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#6C9DFA
Tritanopia (blue-blind)
#92A3B9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a78efd;
/* rgb */ color: rgb(167, 142, 253);
/* oklch */ color: oklch(71.6% 0.159 292.3);
Tailwind
colors: {
  custom: {
    50: '#c4affe',
    500: '#a78efd',
    950: '#000000',
  },
}
SCSS
$custom: #a78efd;
$custom-light: #c4affe;
$custom-dark: #000000;
JSON
{
  "hex": "#a78efd",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 253.514,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.71585,
    "c": 0.15863,
    "h": 292.3
  },
  "luminance": 0.34653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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