#876EBF#876EBF

#876EBF is a mid, vivid violet. Relative luminance 0.201; OKLCH L 59.6% C 0.123 H 296.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#876EBF
RGBrgb(135, 110, 191)
HSLhsl(259, 39%, 59%)
HSVhsv(259, 42%, 75%)
CMYKcmyk(29.3%, 42.4%, 0%, 25.1%)
CIE-LABlab(51.91, 27.51, -39.08)
CIE-LCHlch(51.91, 47.80, 305.15°)
OKLaboklab(59.65% 0.0551 -0.1094)
OKLCHoklch(59.65% 0.123 296.7)
XYZxyz(24.9693, 20.0641, 51.8374)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876EBF #A6BF6E
analogous
#6E7EBF #876EBF #B06EBF
triadic
#876EBF #BF876E #6EBF87
tetradic
#876EBF #BF6E7E #A6BF6E #6EBFB0
square
#876EBF #BF6E7E #A6BF6E #6EBFB0
split-complementary
#876EBF #BFB06E #7EBF6E
monochromatic
#4C377C #6649A6 #876EBF #AA98D2 #CDC3E4

Accessibility & contrast

On white

4.19
#876EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#876EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876EBF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876EBF#FFFFFF#000000##000000
##876EBF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#577CC2
Deuteranopia (green-blind)
#5B7BBD
Tritanopia (blue-blind)
#7B7C8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #876ebf;
/* rgb */ color: rgb(135, 110, 191);
/* oklch */ color: oklch(59.6% 0.123 296.7);
Tailwind
colors: {
  custom: {
    50: '#ac98d2',
    500: '#876ebf',
    950: '#000000',
  },
}
SCSS
$custom: #876ebf;
$custom-light: #ac98d2;
$custom-dark: #000000;
JSON
{
  "hex": "#876ebf",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 191
  },
  "hsl": {
    "h": 258.519,
    "s": 38.756,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59645,
    "c": 0.12251,
    "h": 296.7
  },
  "luminance": 0.20064
}

Semantic roles & 50–950 ramp

primary
#876EBF
secondary
#CAD4B5
accent
#CF59AA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #876EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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