#876BE4#876BE4

#876BE4 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.3% C 0.176 H 290.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#876BE4
RGBrgb(135, 107, 228)
HSLhsl(254, 69%, 66%)
HSVhsv(254, 53%, 89%)
CMYKcmyk(40.8%, 53.1%, 0%, 10.6%)
CIE-LABlab(53.24, 39.12, -57.99)
CIE-LCHlch(53.24, 69.95, 304.00°)
OKLaboklab(61.3% 0.063 -0.1647)
OKLCHoklch(61.3% 0.176 290.9)
XYZxyz(29.2491, 21.2668, 75.9476)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BE4 #C8E46B
analogous
#6B8BE4 #876BE4 #C36BE4
triadic
#876BE4 #E4876B #6BE487
tetradic
#876BE4 #E46B8B #C8E46B #6BE4C3
square
#876BE4 #E46B8B #C8E46B #6BE4C3
split-complementary
#876BE4 #E4C36B #8BE46B
monochromatic
#4321B4 #5D37DB #876BE4 #B19FED #DBD3F7

Accessibility & contrast

On white

4.00
#876BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#876BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BE4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BE4#FFFFFF#000000##000000
##876BE41.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3381E8
Deuteranopia (green-blind)
#377DE1
Tritanopia (blue-blind)
#6D849D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #876be4;
/* rgb */ color: rgb(135, 107, 228);
/* oklch */ color: oklch(61.3% 0.176 290.9);
Tailwind
colors: {
  custom: {
    50: '#af96ed',
    500: '#876be4',
    950: '#000000',
  },
}
SCSS
$custom: #876be4;
$custom-light: #af96ed;
$custom-dark: #000000;
JSON
{
  "hex": "#876be4",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 228
  },
  "hsl": {
    "h": 253.884,
    "s": 69.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61301,
    "c": 0.17636,
    "h": 290.9
  },
  "luminance": 0.21268
}

Semantic roles & 50–950 ramp

primary
#876BE4
secondary
#E0EAC1
accent
#D114A5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #876BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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