#876FE5#876FE5

#876FE5 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.0% C 0.172 H 289.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#876FE5
RGBrgb(135, 111, 229)
HSLhsl(252, 69%, 67%)
HSVhsv(252, 52%, 90%)
CMYKcmyk(41%, 51.5%, 0%, 10.2%)
CIE-LABlab(54.21, 37.09, -56.99)
CIE-LCHlch(54.21, 68.00, 303.05°)
OKLaboklab(62.04% 0.0583 -0.1618)
OKLCHoklch(62.04% 0.172 289.8)
XYZxyz(29.8151, 22.1760, 76.8230)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FE5 #CDE56F
analogous
#6F92E5 #876FE5 #C26FE5
triadic
#876FE5 #E5876F #6FE587
tetradic
#876FE5 #E56F92 #CDE56F #6FE5C2
square
#876FE5 #E56F92 #CDE56F #6FE5C2
split-complementary
#876FE5 #E5C26F #92E56F
monochromatic
#4021B8 #5C3BDC #876FE5 #B2A3EE #DDD7F8

Accessibility & contrast

On white

3.86
#876FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#876FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FE5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FE5#FFFFFF#000000##000000
##876FE51.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B84E9
Deuteranopia (green-blind)
#3D7FE2
Tritanopia (blue-blind)
#6D88A0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #876fe5;
/* rgb */ color: rgb(135, 111, 229);
/* oklch */ color: oklch(62.0% 0.172 289.8);
Tailwind
colors: {
  custom: {
    50: '#af99ee',
    500: '#876fe5',
    950: '#000000',
  },
}
SCSS
$custom: #876fe5;
$custom-light: #af99ee;
$custom-dark: #000000;
JSON
{
  "hex": "#876fe5",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 229
  },
  "hsl": {
    "h": 252.203,
    "s": 69.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62044,
    "c": 0.17194,
    "h": 289.8
  },
  "luminance": 0.22177
}

Semantic roles & 50–950 ramp

primary
#876FE5
secondary
#E3EBC5
accent
#D114AB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #876FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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