#876DF5#876DF5

#876DF5 is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.7% C 0.195 H 288.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#876DF5
RGBrgb(135, 109, 245)
HSLhsl(251, 87%, 69%)
HSVhsv(251, 56%, 96%)
CMYKcmyk(44.9%, 55.5%, 0%, 3.9%)
CIE-LABlab(54.74, 42.69, -65.08)
CIE-LCHlch(54.74, 77.83, 303.26°)
OKLaboklab(62.75% 0.0611 -0.1855)
OKLCHoklch(62.75% 0.195 288.2)
XYZxyz(31.9370, 22.6795, 89.0633)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876DF5 #DBF56D
analogous
#6D97F5 #876DF5 #CB6DF5
triadic
#876DF5 #F5876D #6DF587
tetradic
#876DF5 #F56D97 #DBF56D #6DF5CB
square
#876DF5 #F56D97 #DBF56D #6DF5CB
split-complementary
#876DF5 #F5CB6D #97F56D
monochromatic
#350FD9 #5834F1 #876DF5 #B6A6F9 #E5E0FD

Accessibility & contrast

On white

3.79
#876DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#876DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876DF5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876DF5#FFFFFF#000000##000000
##876DF51.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B86FA
Deuteranopia (green-blind)
#1D7FF2
Tritanopia (blue-blind)
#658BA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876df5;
/* rgb */ color: rgb(135, 109, 245);
/* oklch */ color: oklch(62.7% 0.195 288.2);
Tailwind
colors: {
  custom: {
    50: '#b097f9',
    500: '#876df5',
    950: '#000000',
  },
}
SCSS
$custom: #876df5;
$custom-light: #b097f9;
$custom-dark: #000000;
JSON
{
  "hex": "#876df5",
  "rgb": {
    "r": 135,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 251.471,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62749,
    "c": 0.19535,
    "h": 288.2
  },
  "luminance": 0.22681
}

Semantic roles & 50–950 ramp

primary
#876DF5
secondary
#EBF2CB
accent
#E402B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #876DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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