#876CF3#876CF3

#876CF3 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.5% C 0.194 H 288.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#876CF3
RGBrgb(135, 108, 243)
HSLhsl(252, 85%, 69%)
HSVhsv(252, 56%, 95%)
CMYKcmyk(44.4%, 55.6%, 0%, 4.7%)
CIE-LABlab(54.39, 42.70, -64.53)
CIE-LCHlch(54.39, 77.38, 303.49°)
OKLaboklab(62.45% 0.0622 -0.1839)
OKLCHoklch(62.45% 0.194 288.7)
XYZxyz(31.5273, 22.3459, 87.4287)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CF3 #D8F36C
analogous
#6C95F3 #876CF3 #CB6CF3
triadic
#876CF3 #F3876C #6CF387
tetradic
#876CF3 #F36C95 #D8F36C #6CF3CB
square
#876CF3 #F36C95 #D8F36C #6CF3CB
split-complementary
#876CF3 #F3CB6C #95F36C
monochromatic
#3811D3 #5933EE #876CF3 #B5A5F8 #E3DDFC

Accessibility & contrast

On white

3.84
#876CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#876CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CF3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CF3#FFFFFF#000000##000000
##876CF31.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B85F8
Deuteranopia (green-blind)
#1F7FF0
Tritanopia (blue-blind)
#668AA5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #876cf3;
/* rgb */ color: rgb(135, 108, 243);
/* oklch */ color: oklch(62.5% 0.194 288.7);
Tailwind
colors: {
  custom: {
    50: '#b097f8',
    500: '#876cf3',
    950: '#000000',
  },
}
SCSS
$custom: #876cf3;
$custom-light: #b097f8;
$custom-dark: #000000;
JSON
{
  "hex": "#876cf3",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 243
  },
  "hsl": {
    "h": 252,
    "s": 84.906,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62451,
    "c": 0.19417,
    "h": 288.7
  },
  "luminance": 0.22347
}

Semantic roles & 50–950 ramp

primary
#876CF3
secondary
#E9F1C9
accent
#E104B5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #876CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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