#876FFC#876FFC

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

Color values

HEX#876FFC
RGBrgb(135, 111, 252)
HSLhsl(250, 96%, 71%)
HSVhsv(250, 56%, 99%)
CMYKcmyk(46.4%, 56%, 0%, 1.2%)
CIE-LABlab(55.63, 43.52, -67.52)
CIE-LCHlch(55.63, 80.33, 302.81°)
OKLaboklab(63.55% 0.059 -0.1927)
OKLCHoklch(63.55% 0.202 287)
XYZxyz(33.2417, 23.5466, 94.8700)
Luminance0.2355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FFC #E4FC6F
analogous
#6F9DFC #876FFC #CD6FFC
triadic
#876FFC #FC876F #6FFC87
tetradic
#876FFC #FC6F9D #E4FC6F #6FFCCD
square
#876FFC #FC6F9D #E4FC6F #6FFCCD
split-complementary
#876FFC #FCCD6F #9DFC6F
monochromatic
#2C05EC #5533FB #876FFC #B9ABFD #E6E1FE

Accessibility & contrast

On white

3.68
#876FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#876FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FFC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FFC#FFFFFF#000000##000000
##876FFC1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F89FF
Deuteranopia (green-blind)
#0D81F9
Tritanopia (blue-blind)
#608FAB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #876ffc;
/* rgb */ color: rgb(135, 111, 252);
/* oklch */ color: oklch(63.5% 0.202 287.0);
Tailwind
colors: {
  custom: {
    50: '#b199fe',
    500: '#876ffc',
    950: '#000000',
  },
}
SCSS
$custom: #876ffc;
$custom-light: #b199fe;
$custom-dark: #000000;
JSON
{
  "hex": "#876ffc",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 252
  },
  "hsl": {
    "h": 250.213,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6355,
    "c": 0.20154,
    "h": 287
  },
  "luminance": 0.23548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #876FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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