#876FF2#876FF2

#876FF2 is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.9% C 0.189 H 288.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#876FF2
RGBrgb(135, 111, 242)
HSLhsl(251, 83%, 69%)
HSVhsv(251, 54%, 95%)
CMYKcmyk(44.2%, 54.1%, 0%, 5.1%)
CIE-LABlab(55.00, 40.71, -62.99)
CIE-LCHlch(55.00, 75.00, 302.87°)
OKLaboklab(62.88% 0.0588 -0.1794)
OKLCHoklch(62.88% 0.189 288.2)
XYZxyz(31.6986, 22.9294, 86.7428)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FF2 #DAF26F
analogous
#6F99F2 #876FF2 #C86FF2
triadic
#876FF2 #F2876F #6FF287
tetradic
#876FF2 #F26F99 #DAF26F #6FF2C8
square
#876FF2 #F26F99 #DAF26F #6FF2C8
split-complementary
#876FF2 #F2C86F #99F26F
monochromatic
#3613D4 #5837ED #876FF2 #B6A7F7 #E5DFFC

Accessibility & contrast

On white

3.76
#876FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#876FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FF2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FF2#FFFFFF#000000##000000
##876FF21.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2987F6
Deuteranopia (green-blind)
#2A80EF
Tritanopia (blue-blind)
#668BA6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #876ff2;
/* rgb */ color: rgb(135, 111, 242);
/* oklch */ color: oklch(62.9% 0.189 288.2);
Tailwind
colors: {
  custom: {
    50: '#b099f7',
    500: '#876ff2',
    950: '#000000',
  },
}
SCSS
$custom: #876ff2;
$custom-light: #b099f7;
$custom-dark: #000000;
JSON
{
  "hex": "#876ff2",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 250.992,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62881,
    "c": 0.1888,
    "h": 288.2
  },
  "luminance": 0.22931
}

Semantic roles & 50–950 ramp

primary
#876FF2
secondary
#EAF1CB
accent
#E006B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #876FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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