#A78BF2#A78BF2

#A78BF2 is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.5% C 0.149 H 294.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#A78BF2
RGBrgb(167, 139, 242)
HSLhsl(256, 80%, 75%)
HSVhsv(256, 43%, 95%)
CMYKcmyk(31%, 42.6%, 0%, 5.1%)
CIE-LABlab(64.23, 32.54, -48.10)
CIE-LCHlch(64.23, 58.08, 304.08°)
OKLaboklab(70.47% 0.0624 -0.1349)
OKLCHoklch(70.47% 0.149 294.8)
XYZxyz(41.1920, 33.0909, 88.2041)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78BF2 #D6F28B
analogous
#8BA2F2 #A78BF2 #DB8BF2
triadic
#A78BF2 #F2A78B #8BF2A7
tetradic
#A78BF2 #F28BA2 #D6F28B #8BF2DB
square
#A78BF2 #F28BA2 #D6F28B #8BF2DB
split-complementary
#A78BF2 #F2DB8B #A2F28B
monochromatic
#541DE6 #7D54EC #A78BF2 #D1C2F8 #EAE3FC

Accessibility & contrast

On white

2.76
#A78BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#A78BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78BF2
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78BF2#FFFFFF#000000##000000
##A78BF21.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#969EB3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a78bf2;
/* rgb */ color: rgb(167, 139, 242);
/* oklch */ color: oklch(70.5% 0.149 294.8);
Tailwind
colors: {
  custom: {
    50: '#c4adf7',
    500: '#a78bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a78bf2;
$custom-light: #c4adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a78bf2",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 256.311,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7047,
    "c": 0.14866,
    "h": 294.8
  },
  "luminance": 0.33092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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