#A78DFD#A78DFD

#A78DFD is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.4% C 0.160 H 292.6°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#A78DFD
RGBrgb(167, 141, 253)
HSLhsl(254, 97%, 77%)
HSVhsv(254, 44%, 99%)
CMYKcmyk(34%, 44.3%, 0%, 0.8%)
CIE-LABlab(65.24, 34.20, -52.54)
CIE-LCHlch(65.24, 62.69, 303.06°)
OKLaboklab(71.41% 0.0614 -0.1479)
OKLCHoklch(71.41% 0.16 292.6)
XYZxyz(43.1863, 34.3562, 97.2655)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78DFD #E3FD8D
analogous
#8DABFD #A78DFD #DF8DFD
triadic
#A78DFD #FDA78D #8DFDA7
tetradic
#A78DFD #FD8DAB #E3FD8D #8DFDDF
square
#A78DFD #FD8DAB #E3FD8D #8DFDDF
split-complementary
#A78DFD #FDDF8D #ABFD8D
monochromatic
#4A15FB #7951FC #A78DFD #D5C9FE #E8E1FE

Accessibility & contrast

On white

2.67
#A78DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#A78DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78DFD
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78DFD#FFFFFF#000000##000000
##A78DFD1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#6B9CFA
Tritanopia (blue-blind)
#92A2B9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a78dfd;
/* rgb */ color: rgb(167, 141, 253);
/* oklch */ color: oklch(71.4% 0.160 292.6);
Tailwind
colors: {
  custom: {
    50: '#c4aefe',
    500: '#a78dfd',
    950: '#000000',
  },
}
SCSS
$custom: #a78dfd;
$custom-light: #c4aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#a78dfd",
  "rgb": {
    "r": 167,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 253.929,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.71409,
    "c": 0.16012,
    "h": 292.6
  },
  "luminance": 0.34357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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