#A78DF2#A78DF2

#A78DF2 is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.8% C 0.146 H 294.2°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A78DF2
RGBrgb(167, 141, 242)
HSLhsl(255, 80%, 75%)
HSVhsv(255, 42%, 95%)
CMYKcmyk(31%, 41.7%, 0%, 5.1%)
CIE-LABlab(64.70, 31.41, -47.36)
CIE-LCHlch(64.70, 56.83, 303.55°)
OKLaboklab(70.83% 0.0597 -0.1328)
OKLCHoklch(70.83% 0.146 294.2)
XYZxyz(41.4842, 33.6754, 88.3016)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78DF2 #D8F28D
analogous
#8DA5F2 #A78DF2 #DA8DF2
triadic
#A78DF2 #F2A78D #8DF2A7
tetradic
#A78DF2 #F28DA5 #D8F28D #8DF2DA
square
#A78DF2 #F28DA5 #D8F28D #8DF2DA
split-complementary
#A78DF2 #F2DA8D #A5F28D
monochromatic
#521FE5 #7D56EC #A78DF2 #D1C4F8 #EAE4FC

Accessibility & contrast

On white

2.71
#A78DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A78DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78DF2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78DF2#FFFFFF#000000##000000
##A78DF21.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#729BEF
Tritanopia (blue-blind)
#969FB4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a78df2;
/* rgb */ color: rgb(167, 141, 242);
/* oklch */ color: oklch(70.8% 0.146 294.2);
Tailwind
colors: {
  custom: {
    50: '#c3aef7',
    500: '#a78df2',
    950: '#000000',
  },
}
SCSS
$custom: #a78df2;
$custom-light: #c3aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#a78df2",
  "rgb": {
    "r": 167,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 255.446,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70825,
    "c": 0.1456,
    "h": 294.2
  },
  "luminance": 0.33676
}

Semantic roles & 50–950 ramp

primary
#A78DF2
secondary
#ECF4D7
accent
#DC0AA6
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #A78DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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