#876BEC#876BEC

#876BEC is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.8% C 0.187 H 289.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#876BEC
RGBrgb(135, 107, 236)
HSLhsl(253, 77%, 67%)
HSVhsv(253, 55%, 93%)
CMYKcmyk(42.8%, 54.7%, 0%, 7.5%)
CIE-LABlab(53.73, 41.32, -61.69)
CIE-LCHlch(53.73, 74.25, 303.82°)
OKLaboklab(61.82% 0.0633 -0.1756)
OKLCHoklch(61.82% 0.187 289.8)
XYZxyz(30.3855, 21.7214, 81.9323)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BEC #D0EC6B
analogous
#6B90EC #876BEC #C76BEC
triadic
#876BEC #EC876B #6BEC87
tetradic
#876BEC #EC6B90 #D0EC6B #6BECC7
square
#876BEC #EC6B90 #D0EC6B #6BECC7
split-complementary
#876BEC #ECC76B #90EC6B
monochromatic
#3E19C4 #5B35E5 #876BEC #B3A1F3 #DFD7FA

Accessibility & contrast

On white

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

On black

5.34
#876BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BEC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BEC#FFFFFF#000000##000000
##876BEC1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F0
Deuteranopia (green-blind)
#2B7DE9
Tritanopia (blue-blind)
#6A87A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #876bec;
/* rgb */ color: rgb(135, 107, 236);
/* oklch */ color: oklch(61.8% 0.187 289.8);
Tailwind
colors: {
  custom: {
    50: '#b096f3',
    500: '#876bec',
    950: '#000000',
  },
}
SCSS
$custom: #876bec;
$custom-light: #b096f3;
$custom-dark: #000000;
JSON
{
  "hex": "#876bec",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 253.023,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61821,
    "c": 0.18663,
    "h": 289.8
  },
  "luminance": 0.21722
}

Semantic roles & 50–950 ramp

primary
#876BEC
secondary
#E5EEC5
accent
#D90CAD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #876BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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