#876AF8#876AF8

#876AF8 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 62.5% C 0.203 H 288.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#876AF8
RGBrgb(135, 106, 248)
HSLhsl(252, 91%, 69%)
HSVhsv(252, 57%, 97%)
CMYKcmyk(45.6%, 57.3%, 0%, 2.7%)
CIE-LABlab(54.28, 45.23, -67.49)
CIE-LCHlch(54.28, 81.25, 303.83°)
OKLaboklab(62.47% 0.0644 -0.1927)
OKLCHoklch(62.47% 0.203 288.5)
XYZxyz(32.0841, 22.2350, 91.3900)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876AF8 #DBF86A
analogous
#6A94F8 #876AF8 #CE6AF8
triadic
#876AF8 #F8876A #6AF887
tetradic
#876AF8 #F86A94 #DBF86A #6AF8CE
square
#876AF8 #F86A94 #DBF86A #6AF8CE
split-complementary
#876AF8 #F8CE6A #94F86A
monochromatic
#350ADD #5830F5 #876AF8 #B6A4FB #E5DFFD

Accessibility & contrast

On white

3.86
#876AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#876AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876AF8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876AF8#FFFFFF#000000##000000
##876AF81.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FD
Deuteranopia (green-blind)
#007EF5
Tritanopia (blue-blind)
#638AA7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #876af8;
/* rgb */ color: rgb(135, 106, 248);
/* oklch */ color: oklch(62.5% 0.203 288.5);
Tailwind
colors: {
  custom: {
    50: '#b195fb',
    500: '#876af8',
    950: '#000000',
  },
}
SCSS
$custom: #876af8;
$custom-light: #b195fb;
$custom-dark: #000000;
JSON
{
  "hex": "#876af8",
  "rgb": {
    "r": 135,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 252.254,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62468,
    "c": 0.20315,
    "h": 288.5
  },
  "luminance": 0.22236
}

Semantic roles & 50–950 ramp

primary
#876AF8
secondary
#EBF3CA
accent
#E600B7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #876AF8

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

Preview Lab → · Contrast checker → · Palette generator →

#876AF8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva