#876DF8#876DF8

#876DF8 is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.0% C 0.199 H 287.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#876DF8
RGBrgb(135, 109, 248)
HSLhsl(251, 91%, 70%)
HSVhsv(251, 56%, 97%)
CMYKcmyk(45.6%, 56%, 0%, 2.7%)
CIE-LABlab(54.93, 43.53, -66.43)
CIE-LCHlch(54.93, 79.43, 303.24°)
OKLaboklab(62.95% 0.0612 -0.1895)
OKLCHoklch(62.95% 0.199 287.9)
XYZxyz(32.3987, 22.8642, 91.4949)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876DF8 #DEF86D
analogous
#6D98F8 #876DF8 #CD6DF8
triadic
#876DF8 #F8876D #6DF887
tetradic
#876DF8 #F86D98 #DEF86D #6DF8CD
square
#876DF8 #F86D98 #DEF86D #6DF8CD
split-complementary
#876DF8 #F8CD6D #98F86D
monochromatic
#330BE0 #5733F5 #876DF8 #B7A7FB #E7E2FE

Accessibility & contrast

On white

3.77
#876DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#876DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876DF8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876DF8#FFFFFF#000000##000000
##876DF81.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1187FD
Deuteranopia (green-blind)
#1380F5
Tritanopia (blue-blind)
#638CA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876df8;
/* rgb */ color: rgb(135, 109, 248);
/* oklch */ color: oklch(63.0% 0.199 287.9);
Tailwind
colors: {
  custom: {
    50: '#b197fb',
    500: '#876df8',
    950: '#000000',
  },
}
SCSS
$custom: #876df8;
$custom-light: #b197fb;
$custom-dark: #000000;
JSON
{
  "hex": "#876df8",
  "rgb": {
    "r": 135,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 251.223,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.62952,
    "c": 0.19915,
    "h": 287.9
  },
  "luminance": 0.22865
}

Semantic roles & 50–950 ramp

primary
#876DF8
secondary
#EDF4CD
accent
#E600BB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #876DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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