#876DFB#876DFB

#876DFB is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.2% C 0.203 H 287.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#876DFB
RGBrgb(135, 109, 251)
HSLhsl(251, 95%, 71%)
HSVhsv(251, 57%, 98%)
CMYKcmyk(46.2%, 56.6%, 0%, 1.6%)
CIE-LABlab(55.13, 44.38, -67.78)
CIE-LCHlch(55.13, 81.02, 303.21°)
OKLaboklab(63.16% 0.0612 -0.1935)
OKLCHoklch(63.16% 0.203 287.5)
XYZxyz(32.8679, 23.0518, 93.9657)
Luminance0.2305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876DFB #E1FB6D
analogous
#6D9AFB #876DFB #CE6DFB
triadic
#876DFB #FB876D #6DFB87
tetradic
#876DFB #FB6D9A #E1FB6D #6DFBCE
square
#876DFB #FB6D9A #E1FB6D #6DFBCE
split-complementary
#876DFB #FBCE6D #9AFB6D
monochromatic
#3006E7 #5631F9 #876DFB #B8A9FD #E7E1FE

Accessibility & contrast

On white

3.74
#876DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#876DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876DFB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876DFB#FFFFFF#000000##000000
##876DFB1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0187FF
Deuteranopia (green-blind)
#0280F8
Tritanopia (blue-blind)
#618DAA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #876dfb;
/* rgb */ color: rgb(135, 109, 251);
/* oklch */ color: oklch(63.2% 0.203 287.5);
Tailwind
colors: {
  custom: {
    50: '#b198fd',
    500: '#876dfb',
    950: '#000000',
  },
}
SCSS
$custom: #876dfb;
$custom-light: #b198fd;
$custom-dark: #000000;
JSON
{
  "hex": "#876dfb",
  "rgb": {
    "r": 135,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 250.986,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63156,
    "c": 0.20293,
    "h": 287.5
  },
  "luminance": 0.23053
}

Semantic roles & 50–950 ramp

primary
#876DFB
secondary
#EEF5CF
accent
#E600BB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #876DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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