#876FF5#876FF5

#876FF5 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.1% C 0.193 H 287.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#876FF5
RGBrgb(135, 111, 245)
HSLhsl(251, 87%, 70%)
HSVhsv(251, 55%, 96%)
CMYKcmyk(44.9%, 54.7%, 0%, 3.9%)
CIE-LABlab(55.19, 41.55, -64.36)
CIE-LCHlch(55.19, 76.61, 302.85°)
OKLaboklab(63.08% 0.0589 -0.1834)
OKLCHoklch(63.08% 0.193 287.8)
XYZxyz(32.1528, 23.1111, 89.1352)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FF5 #DDF56F
analogous
#6F9AF5 #876FF5 #CA6FF5
triadic
#876FF5 #F5876F #6FF587
tetradic
#876FF5 #F56F9A #DDF56F #6FF5CA
square
#876FF5 #F56F9A #DDF56F #6FF5CA
split-complementary
#876FF5 #F5CA6F #9AF56F
monochromatic
#340FDA #5736F1 #876FF5 #B7A8F9 #E6E1FD

Accessibility & contrast

On white

3.74
#876FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#876FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FF5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FF5#FFFFFF#000000##000000
##876FF51.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2387FA
Deuteranopia (green-blind)
#2481F2
Tritanopia (blue-blind)
#648CA7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #876ff5;
/* rgb */ color: rgb(135, 111, 245);
/* oklch */ color: oklch(63.1% 0.193 287.8);
Tailwind
colors: {
  custom: {
    50: '#b099f9',
    500: '#876ff5',
    950: '#000000',
  },
}
SCSS
$custom: #876ff5;
$custom-light: #b099f9;
$custom-dark: #000000;
JSON
{
  "hex": "#876ff5",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 250.746,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63079,
    "c": 0.19265,
    "h": 287.8
  },
  "luminance": 0.23112
}

Semantic roles & 50–950 ramp

primary
#876FF5
secondary
#ECF3CD
accent
#E402BB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #876FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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