#876AF4#876AF4

#876AF4 is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.2% C 0.198 H 289.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#876AF4
RGBrgb(135, 106, 244)
HSLhsl(253, 86%, 69%)
HSVhsv(253, 57%, 96%)
CMYKcmyk(44.7%, 56.6%, 0%, 4.3%)
CIE-LABlab(54.02, 44.11, -65.69)
CIE-LCHlch(54.02, 79.13, 303.88°)
OKLaboklab(62.19% 0.0645 -0.1873)
OKLCHoklch(62.19% 0.198 289)
XYZxyz(31.4702, 21.9894, 88.1566)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876AF4 #D7F46A
analogous
#6A92F4 #876AF4 #CC6AF4
triadic
#876AF4 #F4876A #6AF487
tetradic
#876AF4 #F46A92 #D7F46A #6AF4CC
square
#876AF4 #F46A92 #D7F46A #6AF4CC
split-complementary
#876AF4 #F4CC6A #92F46A
monochromatic
#3910D4 #5931F0 #876AF4 #B5A3F8 #E3DCFC

Accessibility & contrast

On white

3.89
#876AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#876AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876AF4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876AF4#FFFFFF#000000##000000
##876AF41.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B84F9
Deuteranopia (green-blind)
#147EF1
Tritanopia (blue-blind)
#6589A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #876af4;
/* rgb */ color: rgb(135, 106, 244);
/* oklch */ color: oklch(62.2% 0.198 289.0);
Tailwind
colors: {
  custom: {
    50: '#b195f9',
    500: '#876af4',
    950: '#000000',
  },
}
SCSS
$custom: #876af4;
$custom-light: #b195f9;
$custom-dark: #000000;
JSON
{
  "hex": "#876af4",
  "rgb": {
    "r": 135,
    "g": 106,
    "b": 244
  },
  "hsl": {
    "h": 252.609,
    "s": 86.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62194,
    "c": 0.19813,
    "h": 289
  },
  "luminance": 0.21991
}

Semantic roles & 50–950 ramp

primary
#876AF4
secondary
#E9F1C8
accent
#E303B4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #876AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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