#876AEC#876AEC

#876AEC is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.7% C 0.188 H 290.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#876AEC
RGBrgb(135, 106, 236)
HSLhsl(253, 77%, 67%)
HSVhsv(253, 55%, 93%)
CMYKcmyk(42.8%, 55.1%, 0%, 7.5%)
CIE-LABlab(53.51, 41.89, -62.05)
CIE-LCHlch(53.51, 74.86, 304.03°)
OKLaboklab(61.66% 0.0644 -0.1766)
OKLCHoklch(61.66% 0.188 290)
XYZxyz(30.2818, 21.5141, 81.8977)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876AEC #CFEC6A
analogous
#6A8EEC #876AEC #C86AEC
triadic
#876AEC #EC876A #6AEC87
tetradic
#876AEC #EC6A8E #CFEC6A #6AECC8
square
#876AEC #EC6A8E #CFEC6A #6AECC8
split-complementary
#876AEC #ECC86A #8EEC6A
monochromatic
#3F19C3 #5B34E5 #876AEC #B3A0F3 #DED7FA

Accessibility & contrast

On white

3.96
#876AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#876AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876AEC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876AEC#FFFFFF#000000##000000
##876AEC1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382F0
Deuteranopia (green-blind)
#297DE9
Tritanopia (blue-blind)
#6A86A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #876aec;
/* rgb */ color: rgb(135, 106, 236);
/* oklch */ color: oklch(61.7% 0.188 290.0);
Tailwind
colors: {
  custom: {
    50: '#b095f3',
    500: '#876aec',
    950: '#000000',
  },
}
SCSS
$custom: #876aec;
$custom-light: #b095f3;
$custom-dark: #000000;
JSON
{
  "hex": "#876aec",
  "rgb": {
    "r": 135,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 253.385,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61656,
    "c": 0.18801,
    "h": 290
  },
  "luminance": 0.21515
}

Semantic roles & 50–950 ramp

primary
#876AEC
secondary
#E4EEC4
accent
#DA0CAC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #876AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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