#876EFE#876EFE

#876EFE is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 63.5% C 0.205 H 287.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#876EFE
RGBrgb(135, 110, 254)
HSLhsl(250, 99%, 71%)
HSVhsv(250, 57%, 100%)
CMYKcmyk(46.9%, 56.7%, 0%, 0.4%)
CIE-LABlab(55.54, 44.66, -68.77)
CIE-LCHlch(55.54, 82.00, 303.00°)
OKLaboklab(63.52% 0.0601 -0.1964)
OKLCHoklch(63.52% 0.205 287)
XYZxyz(33.4518, 23.4571, 96.5118)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876EFE #E5FE6E
analogous
#6E9DFE #876EFE #CF6EFE
triadic
#876EFE #FE876E #6EFE87
tetradic
#876EFE #FE6E9D #E5FE6E #6EFECF
square
#876EFE #FE6E9D #E5FE6E #6EFECF
split-complementary
#876EFE #FECF6E #9DFE6E
monochromatic
#2B02F0 #5531FE #876EFE #B9ABFE #E6E1FF

Accessibility & contrast

On white

3.69
#876EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#876EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876EFE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876EFE#FFFFFF#000000##000000
##876EFE1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#5F8EAC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #876efe;
/* rgb */ color: rgb(135, 110, 254);
/* oklch */ color: oklch(63.5% 0.205 287.0);
Tailwind
colors: {
  custom: {
    50: '#b198ff',
    500: '#876efe',
    950: '#000000',
  },
}
SCSS
$custom: #876efe;
$custom-light: #b198ff;
$custom-dark: #000000;
JSON
{
  "hex": "#876efe",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 250.417,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63524,
    "c": 0.20538,
    "h": 287
  },
  "luminance": 0.23459
}

Semantic roles & 50–950 ramp

primary
#876EFE
secondary
#F0F7D1
accent
#E600BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #876EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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