#A78BF3#A78BF3

#A78BF3 is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.5% C 0.150 H 294.6°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#A78BF3
RGBrgb(167, 139, 243)
HSLhsl(256, 81%, 75%)
HSVhsv(256, 43%, 95%)
CMYKcmyk(31.3%, 42.8%, 0%, 4.7%)
CIE-LABlab(64.28, 32.79, -48.58)
CIE-LCHlch(64.28, 58.61, 304.02°)
OKLaboklab(70.52% 0.0625 -0.1363)
OKLCHoklch(70.52% 0.15 294.6)
XYZxyz(41.3426, 33.1511, 88.9973)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78BF3 #D7F38B
analogous
#8BA3F3 #A78BF3 #DB8BF3
triadic
#A78BF3 #F3A78B #8BF3A7
tetradic
#A78BF3 #F38BA3 #D7F38B #8BF3DB
square
#A78BF3 #F38BA3 #D7F38B #8BF3DB
split-complementary
#A78BF3 #F3DB8B #A3F38B
monochromatic
#531CE8 #7D54ED #A78BF3 #D1C2F9 #EAE3FC

Accessibility & contrast

On white

2.75
#A78BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#A78BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78BF3
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78BF3#FFFFFF#000000##000000
##A78BF31.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF7
Deuteranopia (green-blind)
#6F9AF0
Tritanopia (blue-blind)
#969EB3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a78bf3;
/* rgb */ color: rgb(167, 139, 243);
/* oklch */ color: oklch(70.5% 0.150 294.6);
Tailwind
colors: {
  custom: {
    50: '#c4adf7',
    500: '#a78bf3',
    950: '#000000',
  },
}
SCSS
$custom: #a78bf3;
$custom-light: #c4adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a78bf3",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 243
  },
  "hsl": {
    "h": 256.154,
    "s": 81.25,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70523,
    "c": 0.14998,
    "h": 294.6
  },
  "luminance": 0.33152
}

Semantic roles & 50–950 ramp

primary
#A78BF3
secondary
#ECF4D7
accent
#DE08A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A78BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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