#876AFE#876AFE

#876AFE is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 62.9% C 0.211 H 287.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#876AFE
RGBrgb(135, 106, 254)
HSLhsl(252, 99%, 71%)
HSVhsv(252, 58%, 100%)
CMYKcmyk(46.9%, 58.3%, 0%, 0.4%)
CIE-LABlab(54.67, 46.91, -70.18)
CIE-LCHlch(54.67, 84.41, 303.76°)
OKLaboklab(62.89% 0.0643 -0.2005)
OKLCHoklch(62.89% 0.211 287.8)
XYZxyz(33.0299, 22.6133, 96.3712)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876AFE #E1FE6A
analogous
#6A97FE #876AFE #D16AFE
triadic
#876AFE #FE876A #6AFE87
tetradic
#876AFE #FE6A97 #E1FE6A #6AFED1
square
#876AFE #FE6A97 #E1FE6A #6AFED1
split-complementary
#876AFE #FED16A #97FE6A
monochromatic
#3002EC #562DFE #876AFE #B8A7FE #E7E1FF

Accessibility & contrast

On white

3.80
#876AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#876AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876AFE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876AFE#FFFFFF#000000##000000
##876AFE1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007FFB
Tritanopia (blue-blind)
#608CAA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876afe;
/* rgb */ color: rgb(135, 106, 254);
/* oklch */ color: oklch(62.9% 0.211 287.8);
Tailwind
colors: {
  custom: {
    50: '#b296ff',
    500: '#876afe',
    950: '#000000',
  },
}
SCSS
$custom: #876afe;
$custom-light: #b296ff;
$custom-dark: #000000;
JSON
{
  "hex": "#876afe",
  "rgb": {
    "r": 135,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 251.757,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62885,
    "c": 0.21061,
    "h": 287.8
  },
  "luminance": 0.22615
}

Semantic roles & 50–950 ramp

primary
#876AFE
secondary
#EEF6CE
accent
#E600B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #876AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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