#876BF3#876BF3

#876BF3 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.3% C 0.196 H 288.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#876BF3
RGBrgb(135, 107, 243)
HSLhsl(252, 85%, 69%)
HSVhsv(252, 56%, 95%)
CMYKcmyk(44.4%, 56%, 0%, 4.7%)
CIE-LABlab(54.17, 43.27, -64.88)
CIE-LCHlch(54.17, 77.99, 303.70°)
OKLaboklab(62.29% 0.0634 -0.185)
OKLCHoklch(62.29% 0.196 288.9)
XYZxyz(31.4224, 22.1362, 87.3937)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BF3 #D7F36B
analogous
#6B93F3 #876BF3 #CB6BF3
triadic
#876BF3 #F3876B #6BF387
tetradic
#876BF3 #F36B93 #D7F36B #6BF3CB
square
#876BF3 #F36B93 #D7F36B #6BF3CB
split-complementary
#876BF3 #F3CB6B #93F36B
monochromatic
#3911D3 #5932EE #876BF3 #B5A4F8 #E3DCFC

Accessibility & contrast

On white

3.87
#876BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#876BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BF3
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BF3#FFFFFF#000000##000000
##876BF31.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1684F8
Deuteranopia (green-blind)
#1B7EF0
Tritanopia (blue-blind)
#6689A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #876bf3;
/* rgb */ color: rgb(135, 107, 243);
/* oklch */ color: oklch(62.3% 0.196 288.9);
Tailwind
colors: {
  custom: {
    50: '#b096f8',
    500: '#876bf3',
    950: '#000000',
  },
}
SCSS
$custom: #876bf3;
$custom-light: #b096f8;
$custom-dark: #000000;
JSON
{
  "hex": "#876bf3",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 243
  },
  "hsl": {
    "h": 252.353,
    "s": 85,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62288,
    "c": 0.19552,
    "h": 288.9
  },
  "luminance": 0.22137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #876BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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