#876BFD#876BFD

#876BFD is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.0% C 0.208 H 287.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#876BFD
RGBrgb(135, 107, 253)
HSLhsl(252, 97%, 71%)
HSVhsv(252, 58%, 99%)
CMYKcmyk(46.6%, 57.7%, 0%, 0.8%)
CIE-LABlab(54.82, 46.07, -69.38)
CIE-LCHlch(54.82, 83.28, 303.58°)
OKLaboklab(62.97% 0.0633 -0.1982)
OKLCHoklch(62.97% 0.208 287.7)
XYZxyz(32.9739, 22.7567, 95.5645)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BFD #E1FD6B
analogous
#6B98FD #876BFD #D06BFD
triadic
#876BFD #FD876B #6BFD87
tetradic
#876BFD #FD6B98 #E1FD6B #6BFDD0
square
#876BFD #FD6B98 #E1FD6B #6BFDD0
split-complementary
#876BFD #FDD06B #98FD6B
monochromatic
#3003EA #562FFC #876BFD #B8A7FE #E7E1FF

Accessibility & contrast

On white

3.78
#876BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#876BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BFD
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BFD#FFFFFF#000000##000000
##876BFD1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #876bfd;
/* rgb */ color: rgb(135, 107, 253);
/* oklch */ color: oklch(63.0% 0.208 287.7);
Tailwind
colors: {
  custom: {
    50: '#b196ff',
    500: '#876bfd',
    950: '#000000',
  },
}
SCSS
$custom: #876bfd;
$custom-light: #b196ff;
$custom-dark: #000000;
JSON
{
  "hex": "#876bfd",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 253
  },
  "hsl": {
    "h": 251.507,
    "s": 97.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62974,
    "c": 0.20806,
    "h": 287.7
  },
  "luminance": 0.22758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #876BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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