#A78EF6#A78EF6

#A78EF6 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.2% C 0.149 H 293.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#A78EF6
RGBrgb(167, 142, 246)
HSLhsl(254, 85%, 76%)
HSVhsv(254, 42%, 96%)
CMYKcmyk(32.1%, 42.3%, 0%, 3.5%)
CIE-LABlab(65.13, 31.85, -48.88)
CIE-LCHlch(65.13, 58.35, 303.09°)
OKLaboklab(71.21% 0.0591 -0.1372)
OKLCHoklch(71.21% 0.149 293.3)
XYZxyz(42.2397, 34.2145, 91.5495)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78EF6 #DDF68E
analogous
#8EA9F6 #A78EF6 #DB8EF6
triadic
#A78EF6 #F6A78E #8EF6A7
tetradic
#A78EF6 #F68EA9 #DDF68E #8EF6DB
square
#A78EF6 #F68EA9 #DDF68E #8EF6DB
split-complementary
#A78EF6 #F6DB8E #A9F68E
monochromatic
#4F1DED #7B55F1 #A78EF6 #D3C7FB #E9E3FD

Accessibility & contrast

On white

2.68
#A78EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#A78EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78EF6
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78EF6#FFFFFF#000000##000000
##A78EF61.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9FFA
Deuteranopia (green-blind)
#719CF3
Tritanopia (blue-blind)
#95A1B6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a78ef6;
/* rgb */ color: rgb(167, 142, 246);
/* oklch */ color: oklch(71.2% 0.149 293.3);
Tailwind
colors: {
  custom: {
    50: '#c4aff9',
    500: '#a78ef6',
    950: '#000000',
  },
}
SCSS
$custom: #a78ef6;
$custom-light: #c4aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#a78ef6",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 254.423,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71212,
    "c": 0.14938,
    "h": 293.3
  },
  "luminance": 0.34215
}

Semantic roles & 50–950 ramp

primary
#A78EF6
secondary
#EDF5D6
accent
#E204AC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A78EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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