#876AF3#876AF3

#876AF3 is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.1% C 0.197 H 289.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#876AF3
RGBrgb(135, 106, 243)
HSLhsl(253, 85%, 68%)
HSVhsv(253, 56%, 95%)
CMYKcmyk(44.4%, 56.4%, 0%, 4.7%)
CIE-LABlab(53.95, 43.83, -65.24)
CIE-LCHlch(53.95, 78.60, 303.90°)
OKLaboklab(62.13% 0.0645 -0.186)
OKLCHoklch(62.13% 0.197 289.1)
XYZxyz(31.3188, 21.9289, 87.3592)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876AF3 #D6F36A
analogous
#6A91F3 #876AF3 #CB6AF3
triadic
#876AF3 #F3876A #6AF387
tetradic
#876AF3 #F36A91 #D6F36A #6AF3CB
square
#876AF3 #F36A91 #D6F36A #6AF3CB
split-complementary
#876AF3 #F3CB6A #91F36A
monochromatic
#3A11D2 #5931EE #876AF3 #B5A3F8 #E2DBFC

Accessibility & contrast

On white

3.90
#876AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#876AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876AF3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876AF3#FFFFFF#000000##000000
##876AF31.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1084F8
Deuteranopia (green-blind)
#177EF0
Tritanopia (blue-blind)
#6688A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #876af3;
/* rgb */ color: rgb(135, 106, 243);
/* oklch */ color: oklch(62.1% 0.197 289.1);
Tailwind
colors: {
  custom: {
    50: '#b095f8',
    500: '#876af3',
    950: '#000000',
  },
}
SCSS
$custom: #876af3;
$custom-light: #b095f8;
$custom-dark: #000000;
JSON
{
  "hex": "#876af3",
  "rgb": {
    "r": 135,
    "g": 106,
    "b": 243
  },
  "hsl": {
    "h": 252.701,
    "s": 85.093,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62126,
    "c": 0.19688,
    "h": 289.1
  },
  "luminance": 0.2193
}

Semantic roles & 50–950 ramp

primary
#876AF3
secondary
#E8F1C8
accent
#E204B3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #876AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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