#876BDF#876BDF

#876BDF is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.0% C 0.170 H 291.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#876BDF
RGBrgb(135, 107, 223)
HSLhsl(254, 64%, 65%)
HSVhsv(254, 52%, 87%)
CMYKcmyk(39.5%, 52%, 0%, 12.5%)
CIE-LABlab(52.94, 37.75, -55.65)
CIE-LCHlch(52.94, 67.25, 304.15°)
OKLaboklab(60.98% 0.0628 -0.1579)
OKLCHoklch(60.98% 0.17 291.7)
XYZxyz(28.5651, 20.9932, 72.3448)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BDF #C3DF6B
analogous
#6B89DF #876BDF #C16BDF
triadic
#876BDF #DF876B #6BDF87
tetradic
#876BDF #DF6B89 #C3DF6B #6BDFC1
square
#876BDF #DF6B89 #C3DF6B #6BDFC1
split-complementary
#876BDF #DFC16B #89DF6B
monochromatic
#4525AB #5E39D4 #876BDF #B09DEA #D9D0F5

Accessibility & contrast

On white

4.04
#876BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#876BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BDF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BDF#FFFFFF#000000##000000
##876BDF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3980E3
Deuteranopia (green-blind)
#3D7CDC
Tritanopia (blue-blind)
#70839B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #876bdf;
/* rgb */ color: rgb(135, 107, 223);
/* oklch */ color: oklch(61.0% 0.170 291.7);
Tailwind
colors: {
  custom: {
    50: '#ae96ea',
    500: '#876bdf',
    950: '#000000',
  },
}
SCSS
$custom: #876bdf;
$custom-light: #ae96ea;
$custom-dark: #000000;
JSON
{
  "hex": "#876bdf",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 223
  },
  "hsl": {
    "h": 254.483,
    "s": 64.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60983,
    "c": 0.16988,
    "h": 291.7
  },
  "luminance": 0.20994
}

Semantic roles & 50–950 ramp

primary
#876BDF
secondary
#DDE7BF
accent
#CC19A1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #876BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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