#876CF8#876CF8

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

Color values

HEX#876CF8
RGBrgb(135, 108, 248)
HSLhsl(252, 91%, 70%)
HSVhsv(252, 56%, 97%)
CMYKcmyk(45.6%, 56.5%, 0%, 2.7%)
CIE-LABlab(54.71, 44.10, -66.79)
CIE-LCHlch(54.71, 80.03, 303.44°)
OKLaboklab(62.79% 0.0623 -0.1906)
OKLCHoklch(62.79% 0.2 288.1)
XYZxyz(32.2927, 22.6520, 91.4595)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CF8 #DDF86C
analogous
#6C97F8 #876CF8 #CD6CF8
triadic
#876CF8 #F8876C #6CF887
tetradic
#876CF8 #F86C97 #DDF86C #6CF8CD
square
#876CF8 #F86C97 #DDF86C #6CF8CD
split-complementary
#876CF8 #F8CD6C #97F86C
monochromatic
#340BDF #5732F5 #876CF8 #B7A6FB #E6E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##876CF8#FFFFFF#000000##000000
##876CF81.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)
#0886FD
Deuteranopia (green-blind)
#0D7FF5
Tritanopia (blue-blind)
#638BA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876cf8;
/* rgb */ color: rgb(135, 108, 248);
/* oklch */ color: oklch(62.8% 0.200 288.1);
Tailwind
colors: {
  custom: {
    50: '#b197fb',
    500: '#876cf8',
    950: '#000000',
  },
}
SCSS
$custom: #876cf8;
$custom-light: #b197fb;
$custom-dark: #000000;
JSON
{
  "hex": "#876cf8",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 251.571,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6279,
    "c": 0.20049,
    "h": 288.1
  },
  "luminance": 0.22653
}

Semantic roles & 50–950 ramp

primary
#876CF8
secondary
#ECF4CC
accent
#E600B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #876CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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