#876DFE#876DFE

#876DFE is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.4% C 0.207 H 287.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#876DFE
RGBrgb(135, 109, 254)
HSLhsl(251, 99%, 71%)
HSVhsv(251, 57%, 100%)
CMYKcmyk(46.9%, 57.1%, 0%, 0.4%)
CIE-LABlab(55.32, 45.22, -69.13)
CIE-LCHlch(55.32, 82.60, 303.19°)
OKLaboklab(63.36% 0.0611 -0.1974)
OKLCHoklch(63.36% 0.207 287.2)
XYZxyz(33.3445, 23.2425, 96.4760)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876DFE #E4FE6D
analogous
#6D9BFE #876DFE #D06DFE
triadic
#876DFE #FE876D #6DFE87
tetradic
#876DFE #FE6D9B #E4FE6D #6DFED0
square
#876DFE #FE6D9B #E4FE6D #6DFED0
split-complementary
#876DFE #FED06D #9BFE6D
monochromatic
#2C02EF #5530FE #876DFE #B9AAFE #E6E1FF

Accessibility & contrast

On white

3.72
#876DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#876DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876DFE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876DFE#FFFFFF#000000##000000
##876DFE1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#5F8EAB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #876dfe;
/* rgb */ color: rgb(135, 109, 254);
/* oklch */ color: oklch(63.4% 0.207 287.2);
Tailwind
colors: {
  custom: {
    50: '#b198ff',
    500: '#876dfe',
    950: '#000000',
  },
}
SCSS
$custom: #876dfe;
$custom-light: #b198ff;
$custom-dark: #000000;
JSON
{
  "hex": "#876dfe",
  "rgb": {
    "r": 135,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 250.759,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63363,
    "c": 0.20669,
    "h": 287.2
  },
  "luminance": 0.23244
}

Semantic roles & 50–950 ramp

primary
#876DFE
secondary
#F0F6D0
accent
#E600BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #876DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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