#876ACE#876ACE

#876ACE is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.8% C 0.149 H 294.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#876ACE
RGBrgb(135, 106, 206)
HSLhsl(257, 51%, 61%)
HSVhsv(257, 49%, 81%)
CMYKcmyk(34.5%, 48.5%, 0%, 19.2%)
CIE-LABlab(51.74, 33.76, -47.94)
CIE-LCHlch(51.74, 58.63, 305.16°)
OKLaboklab(59.77% 0.0627 -0.1352)
OKLCHoklch(59.77% 0.149 294.9)
XYZxyz(26.2835, 19.9147, 60.8397)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876ACE #B1CE6A
analogous
#6A7FCE #876ACE #B96ACE
triadic
#876ACE #CE876A #6ACE87
tetradic
#876ACE #CE6A7F #B1CE6A #6ACEB9
square
#876ACE #CE6A7F #B1CE6A #6ACEB9
split-complementary
#876ACE #CEB96A #7FCE6A
monochromatic
#4B2F8F #633EBD #876ACE #AC98DD #D1C6EC

Accessibility & contrast

On white

4.21
#876ACE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#876ACE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876ACE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876ACE#FFFFFF#000000##000000
##876ACE1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD2
Deuteranopia (green-blind)
#4C7ACC
Tritanopia (blue-blind)
#767D92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #876ace;
/* rgb */ color: rgb(135, 106, 206);
/* oklch */ color: oklch(59.8% 0.149 294.9);
Tailwind
colors: {
  custom: {
    50: '#ad95dd',
    500: '#876ace',
    950: '#000000',
  },
}
SCSS
$custom: #876ace;
$custom-light: #ad95dd;
$custom-dark: #000000;
JSON
{
  "hex": "#876ace",
  "rgb": {
    "r": 135,
    "g": 106,
    "b": 206
  },
  "hsl": {
    "h": 257.4,
    "s": 50.505,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59773,
    "c": 0.14904,
    "h": 294.9
  },
  "luminance": 0.19915
}

Semantic roles & 50–950 ramp

primary
#876ACE
secondary
#D2DDB7
accent
#BE2892
background
#FAF9FD
surface
#F5F1FB
border
#CFCBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #876ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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