#A78FF2#A78FF2

#A78FF2 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.2% C 0.143 H 293.6°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#A78FF2
RGBrgb(167, 143, 242)
HSLhsl(255, 79%, 75%)
HSVhsv(255, 41%, 95%)
CMYKcmyk(31%, 40.9%, 0%, 5.1%)
CIE-LABlab(65.18, 30.28, -46.62)
CIE-LCHlch(65.18, 55.59, 303.00°)
OKLaboklab(71.18% 0.0571 -0.1306)
OKLCHoklch(71.18% 0.143 293.6)
XYZxyz(41.7818, 34.2705, 88.4008)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78FF2 #DAF28F
analogous
#8FA9F2 #A78FF2 #D88FF2
triadic
#A78FF2 #F2A78F #8FF2A7
tetradic
#A78FF2 #F28FA9 #DAF28F #8FF2D8
square
#A78FF2 #F28FA9 #DAF28F #8FF2D8
split-complementary
#A78FF2 #F2D88F #A9F28F
monochromatic
#5121E5 #7C58EC #A78FF2 #D2C6F8 #E9E4FC

Accessibility & contrast

On white

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

On black

7.85
#A78FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78FF2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78FF2#FFFFFF#000000##000000
##A78FF21.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#749DF0
Tritanopia (blue-blind)
#96A1B5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a78ff2;
/* rgb */ color: rgb(167, 143, 242);
/* oklch */ color: oklch(71.2% 0.143 293.6);
Tailwind
colors: {
  custom: {
    50: '#c3b0f7',
    500: '#a78ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a78ff2;
$custom-light: #c3b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a78ff2",
  "rgb": {
    "r": 167,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 254.545,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71183,
    "c": 0.14255,
    "h": 293.6
  },
  "luminance": 0.34271
}

Semantic roles & 50–950 ramp

primary
#A78FF2
secondary
#EDF4D7
accent
#DB0AA9
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #A78FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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