#A78BEF#A78BEF

#A78BEF is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.3% C 0.145 H 295.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#A78BEF
RGBrgb(167, 139, 239)
HSLhsl(257, 76%, 74%)
HSVhsv(257, 42%, 94%)
CMYKcmyk(30.1%, 41.8%, 0%, 6.3%)
CIE-LABlab(64.09, 31.79, -46.68)
CIE-LCHlch(64.09, 56.48, 304.26°)
OKLaboklab(70.31% 0.0619 -0.1308)
OKLCHoklch(70.31% 0.145 295.3)
XYZxyz(40.7451, 32.9121, 85.8506)
Luminance0.3291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78BEF #D3EF8B
analogous
#8BA1EF #A78BEF #D98BEF
triadic
#A78BEF #EFA78B #8BEFA7
tetradic
#A78BEF #EF8BA1 #D3EF8B #8BEFD9
square
#A78BEF #EF8BA1 #D3EF8B #8BEFD9
split-complementary
#A78BEF #EFD98B #A1EF8B
monochromatic
#551FE0 #7E55E8 #A78BEF #D0C1F6 #EBE4FB

Accessibility & contrast

On white

2.77
#A78BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#A78BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78BEF
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78BEF#FFFFFF#000000##000000
##A78BEF1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#979DB2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a78bef;
/* rgb */ color: rgb(167, 139, 239);
/* oklch */ color: oklch(70.3% 0.145 295.3);
Tailwind
colors: {
  custom: {
    50: '#c3adf4',
    500: '#a78bef',
    950: '#000000',
  },
}
SCSS
$custom: #a78bef;
$custom-light: #c3adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a78bef",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 256.8,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70313,
    "c": 0.1447,
    "h": 295.3
  },
  "luminance": 0.32913
}

Semantic roles & 50–950 ramp

primary
#A78BEF
secondary
#EBF3D8
accent
#D80E9F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A78BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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