#876AF6#876AF6

#876AF6 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.3% C 0.201 H 288.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#876AF6
RGBrgb(135, 106, 246)
HSLhsl(252, 89%, 69%)
HSVhsv(252, 57%, 96%)
CMYKcmyk(45.1%, 56.9%, 0%, 3.5%)
CIE-LABlab(54.15, 44.67, -66.59)
CIE-LCHlch(54.15, 80.19, 303.85°)
OKLaboklab(62.33% 0.0645 -0.19)
OKLCHoklch(62.33% 0.201 288.7)
XYZxyz(31.7755, 22.1116, 89.7646)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876AF6 #D9F66A
analogous
#6A93F6 #876AF6 #CD6AF6
triadic
#876AF6 #F6876A #6AF687
tetradic
#876AF6 #F66A93 #D9F66A #6AF6CD
square
#876AF6 #F66A93 #D9F66A #6AF6CD
split-complementary
#876AF6 #F6CD6A #93F66A
monochromatic
#370DD9 #5930F3 #876AF6 #B5A4F9 #E4DDFD

Accessibility & contrast

On white

3.87
#876AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#876AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876AF6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876AF6#FFFFFF#000000##000000
##876AF61.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#0A7EF3
Tritanopia (blue-blind)
#6489A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #876af6;
/* rgb */ color: rgb(135, 106, 246);
/* oklch */ color: oklch(62.3% 0.201 288.7);
Tailwind
colors: {
  custom: {
    50: '#b195fa',
    500: '#876af6',
    950: '#000000',
  },
}
SCSS
$custom: #876af6;
$custom-light: #b195fa;
$custom-dark: #000000;
JSON
{
  "hex": "#876af6",
  "rgb": {
    "r": 135,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 252.429,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6233,
    "c": 0.20065,
    "h": 288.7
  },
  "luminance": 0.22113
}

Semantic roles & 50–950 ramp

primary
#876AF6
secondary
#EAF2C9
accent
#E500B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #876AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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