#876BFB#876BFB

#876BFB is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 62.8% C 0.206 H 287.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#876BFB
RGBrgb(135, 107, 251)
HSLhsl(252, 95%, 70%)
HSVhsv(252, 57%, 98%)
CMYKcmyk(46.2%, 57.4%, 0%, 1.6%)
CIE-LABlab(54.69, 45.50, -68.49)
CIE-LCHlch(54.69, 82.23, 303.60°)
OKLaboklab(62.83% 0.0633 -0.1956)
OKLCHoklch(62.83% 0.206 287.9)
XYZxyz(32.6569, 22.6300, 93.8954)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BFB #DFFB6B
analogous
#6B97FB #876BFB #CF6BFB
triadic
#876BFB #FB876B #6BFB87
tetradic
#876BFB #FB6B97 #DFFB6B #6BFBCF
square
#876BFB #FB6B97 #DFFB6B #6BFBCF
split-complementary
#876BFB #FBCF6B #97FB6B
monochromatic
#3206E5 #572FF9 #876BFB #B7A7FD #E7E1FE

Accessibility & contrast

On white

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

On black

5.53
#876BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BFB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BFB#FFFFFF#000000##000000
##876BFB1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007FF8
Tritanopia (blue-blind)
#618CA9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876bfb;
/* rgb */ color: rgb(135, 107, 251);
/* oklch */ color: oklch(62.8% 0.206 287.9);
Tailwind
colors: {
  custom: {
    50: '#b196fd',
    500: '#876bfb',
    950: '#000000',
  },
}
SCSS
$custom: #876bfb;
$custom-light: #b196fd;
$custom-dark: #000000;
JSON
{
  "hex": "#876bfb",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 251.667,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.62835,
    "c": 0.20557,
    "h": 287.9
  },
  "luminance": 0.22631
}

Semantic roles & 50–950 ramp

primary
#876BFB
secondary
#EDF5CD
accent
#E600B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #876BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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