#876CFA#876CFA

#876CFA is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 62.9% C 0.203 H 287.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#876CFA
RGBrgb(135, 108, 250)
HSLhsl(251, 93%, 70%)
HSVhsv(251, 57%, 98%)
CMYKcmyk(46%, 56.8%, 0%, 2%)
CIE-LABlab(54.84, 44.66, -67.69)
CIE-LCHlch(54.84, 81.09, 303.42°)
OKLaboklab(62.93% 0.0622 -0.1932)
OKLCHoklch(62.93% 0.203 287.9)
XYZxyz(32.6046, 22.7768, 93.1024)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CFA #DFFA6C
analogous
#6C98FA #876CFA #CE6CFA
triadic
#876CFA #FA876C #6CFA87
tetradic
#876CFA #FA6C98 #DFFA6C #6CFACE
square
#876CFA #FA6C98 #DFFA6C #6CFACE
split-complementary
#876CFA #FACE6C #98FA6C
monochromatic
#3208E4 #5731F8 #876CFA #B7A7FC #E7E1FE

Accessibility & contrast

On white

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

On black

5.56
#876CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CFA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CFA#FFFFFF#000000##000000
##876CFA1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #876cfa;
/* rgb */ color: rgb(135, 108, 250);
/* oklch */ color: oklch(62.9% 0.203 287.9);
Tailwind
colors: {
  custom: {
    50: '#b197fd',
    500: '#876cfa',
    950: '#000000',
  },
}
SCSS
$custom: #876cfa;
$custom-light: #b197fd;
$custom-dark: #000000;
JSON
{
  "hex": "#876cfa",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 250
  },
  "hsl": {
    "h": 251.408,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.62926,
    "c": 0.203,
    "h": 287.9
  },
  "luminance": 0.22778
}

Semantic roles & 50–950 ramp

primary
#876CFA
secondary
#EDF5CD
accent
#E600BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #876CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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