#876EFA#876EFA

#876EFA is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.3% C 0.200 H 287.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#876EFA
RGBrgb(135, 110, 250)
HSLhsl(251, 93%, 71%)
HSVhsv(251, 56%, 98%)
CMYKcmyk(46%, 56%, 0%, 2%)
CIE-LABlab(55.28, 43.53, -66.98)
CIE-LCHlch(55.28, 79.88, 303.02°)
OKLaboklab(63.25% 0.0601 -0.1911)
OKLCHoklch(63.25% 0.2 287.4)
XYZxyz(32.8179, 23.2035, 93.1735)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876EFA #E1FA6E
analogous
#6E9BFA #876EFA #CD6EFA
triadic
#876EFA #FA876E #6EFA87
tetradic
#876EFA #FA6E9B #E1FA6E #6EFACD
square
#876EFA #FA6E9B #E1FA6E #6EFACD
split-complementary
#876EFA #FACD6E #9BFA6E
monochromatic
#3008E6 #5633F8 #876EFA #B8A9FC #E7E1FE

Accessibility & contrast

On white

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

On black

5.64
#876EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876EFA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876EFA#FFFFFF#000000##000000
##876EFA1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1088FF
Deuteranopia (green-blind)
#1081F7
Tritanopia (blue-blind)
#628DAA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #876efa;
/* rgb */ color: rgb(135, 110, 250);
/* oklch */ color: oklch(63.3% 0.200 287.4);
Tailwind
colors: {
  custom: {
    50: '#b198fd',
    500: '#876efa',
    950: '#000000',
  },
}
SCSS
$custom: #876efa;
$custom-light: #b198fd;
$custom-dark: #000000;
JSON
{
  "hex": "#876efa",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 250.714,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63251,
    "c": 0.20034,
    "h": 287.4
  },
  "luminance": 0.23205
}

Semantic roles & 50–950 ramp

primary
#876EFA
secondary
#EEF5CF
accent
#E600BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #876EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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