#876BFA#876BFA

#876BFA is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 62.8% C 0.204 H 288.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#876BFA
RGBrgb(135, 107, 250)
HSLhsl(252, 93%, 70%)
HSVhsv(252, 57%, 98%)
CMYKcmyk(46%, 57.2%, 0%, 2%)
CIE-LABlab(54.62, 45.22, -68.04)
CIE-LCHlch(54.62, 81.70, 303.61°)
OKLaboklab(62.77% 0.0633 -0.1943)
OKLCHoklch(62.77% 0.204 288.1)
XYZxyz(32.4997, 22.5671, 93.0674)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BFA #DEFA6B
analogous
#6B97FA #876BFA #CE6BFA
triadic
#876BFA #FA876B #6BFA87
tetradic
#876BFA #FA6B97 #DEFA6B #6BFACE
square
#876BFA #FA6B97 #DEFA6B #6BFACE
split-complementary
#876BFA #FACE6B #97FA6B
monochromatic
#3308E3 #5730F8 #876BFA #B7A6FC #E7E1FE

Accessibility & contrast

On white

3.81
#876BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#876BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BFA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BFA#FFFFFF#000000##000000
##876BFA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007FF7
Tritanopia (blue-blind)
#628BA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876bfa;
/* rgb */ color: rgb(135, 107, 250);
/* oklch */ color: oklch(62.8% 0.204 288.1);
Tailwind
colors: {
  custom: {
    50: '#b196fd',
    500: '#876bfa',
    950: '#000000',
  },
}
SCSS
$custom: #876bfa;
$custom-light: #b196fd;
$custom-dark: #000000;
JSON
{
  "hex": "#876bfa",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 250
  },
  "hsl": {
    "h": 251.748,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.62766,
    "c": 0.20432,
    "h": 288.1
  },
  "luminance": 0.22568
}

Semantic roles & 50–950 ramp

primary
#876BFA
secondary
#EDF4CC
accent
#E600B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #876BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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