#876EF3#876EF3

#876EF3 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.191 H 288.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#876EF3
RGBrgb(135, 110, 243)
HSLhsl(251, 85%, 69%)
HSVhsv(251, 55%, 95%)
CMYKcmyk(44.4%, 54.7%, 0%, 4.7%)
CIE-LABlab(54.84, 41.56, -63.81)
CIE-LCHlch(54.84, 76.15, 303.08°)
OKLaboklab(62.78% 0.06 -0.1818)
OKLCHoklch(62.78% 0.191 288.3)
XYZxyz(31.7407, 22.7726, 87.4998)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876EF3 #DAF36E
analogous
#6E98F3 #876EF3 #CA6EF3
triadic
#876EF3 #F3876E #6EF387
tetradic
#876EF3 #F36E98 #DAF36E #6EF3CA
square
#876EF3 #F36E98 #DAF36E #6EF3CA
split-complementary
#876EF3 #F3CA6E #98F36E
monochromatic
#3612D5 #5835EE #876EF3 #B6A7F8 #E5DFFC

Accessibility & contrast

On white

3.78
#876EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#876EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876EF3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876EF3#FFFFFF#000000##000000
##876EF31.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2486F8
Deuteranopia (green-blind)
#2580F0
Tritanopia (blue-blind)
#668BA6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876ef3;
/* rgb */ color: rgb(135, 110, 243);
/* oklch */ color: oklch(62.8% 0.191 288.3);
Tailwind
colors: {
  custom: {
    50: '#b098f8',
    500: '#876ef3',
    950: '#000000',
  },
}
SCSS
$custom: #876ef3;
$custom-light: #b098f8;
$custom-dark: #000000;
JSON
{
  "hex": "#876ef3",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 243
  },
  "hsl": {
    "h": 251.278,
    "s": 84.713,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62781,
    "c": 0.19145,
    "h": 288.3
  },
  "luminance": 0.22774
}

Semantic roles & 50–950 ramp

primary
#876EF3
secondary
#EAF2CB
accent
#E104B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #876EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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