#876FFB#876FFB

#876FFB is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 63.5% C 0.200 H 287.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#876FFB
RGBrgb(135, 111, 251)
HSLhsl(250, 95%, 71%)
HSVhsv(250, 56%, 98%)
CMYKcmyk(46.2%, 55.8%, 0%, 1.6%)
CIE-LABlab(55.57, 43.24, -67.07)
CIE-LCHlch(55.57, 79.80, 302.81°)
OKLaboklab(63.48% 0.059 -0.1914)
OKLCHoklch(63.48% 0.2 287.1)
XYZxyz(33.0837, 23.4834, 94.0376)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FFB #E3FB6F
analogous
#6F9DFB #876FFB #CD6FFB
triadic
#876FFB #FB876F #6FFB87
tetradic
#876FFB #FB6F9D #E3FB6F #6FFBCD
square
#876FFB #FB6F9D #E3FB6F #6FFBCD
split-complementary
#876FFB #FBCD6F #9DFB6F
monochromatic
#2D06E9 #5533F9 #876FFB #B9ABFD #E6E1FE

Accessibility & contrast

On white

3.69
#876FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#876FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FFB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FFB#FFFFFF#000000##000000
##876FFB1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1389FF
Deuteranopia (green-blind)
#1281F8
Tritanopia (blue-blind)
#618EAA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #876ffb;
/* rgb */ color: rgb(135, 111, 251);
/* oklch */ color: oklch(63.5% 0.200 287.1);
Tailwind
colors: {
  custom: {
    50: '#b199fd',
    500: '#876ffb',
    950: '#000000',
  },
}
SCSS
$custom: #876ffb;
$custom-light: #b199fd;
$custom-dark: #000000;
JSON
{
  "hex": "#876ffb",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 250.286,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63482,
    "c": 0.20028,
    "h": 287.1
  },
  "luminance": 0.23485
}

Semantic roles & 50–950 ramp

primary
#876FFB
secondary
#EFF6D0
accent
#E600BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #876FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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