#876FDD#876FDD

#876FDD is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.5% C 0.161 H 290.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#876FDD
RGBrgb(135, 111, 221)
HSLhsl(253, 62%, 65%)
HSVhsv(253, 50%, 87%)
CMYKcmyk(38.9%, 49.8%, 0%, 13.3%)
CIE-LABlab(53.75, 34.89, -53.24)
CIE-LCHlch(53.75, 63.65, 303.24°)
OKLaboklab(61.55% 0.0577 -0.1507)
OKLCHoklch(61.55% 0.161 290.9)
XYZxyz(28.7237, 21.7394, 71.0753)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FDD #C5DD6F
analogous
#6F8EDD #876FDD #BE6FDD
triadic
#876FDD #DD876F #6FDD87
tetradic
#876FDD #DD6F8E #C5DD6F #6FDDBE
square
#876FDD #DD6F8E #C5DD6F #6FDDBE
split-complementary
#876FDD #DDBE6F #8EDD6F
monochromatic
#4428AA #5E3DD1 #876FDD #B0A1E9 #DAD2F4

Accessibility & contrast

On white

3.93
#876FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#876FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FDD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FDD#FFFFFF#000000##000000
##876FDD1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E1
Deuteranopia (green-blind)
#467EDA
Tritanopia (blue-blind)
#70859C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #876fdd;
/* rgb */ color: rgb(135, 111, 221);
/* oklch */ color: oklch(61.5% 0.161 290.9);
Tailwind
colors: {
  custom: {
    50: '#ae99e8',
    500: '#876fdd',
    950: '#000000',
  },
}
SCSS
$custom: #876fdd;
$custom-light: #ae99e8;
$custom-dark: #000000;
JSON
{
  "hex": "#876fdd",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 221
  },
  "hsl": {
    "h": 253.091,
    "s": 61.798,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61548,
    "c": 0.1614,
    "h": 290.9
  },
  "luminance": 0.2174
}

Semantic roles & 50–950 ramp

primary
#876FDD
secondary
#DEE7C1
accent
#CA1CA4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #876FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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