#876AFD#876AFD

#876AFD is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 62.8% C 0.209 H 287.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#876AFD
RGBrgb(135, 106, 253)
HSLhsl(252, 97%, 70%)
HSVhsv(252, 58%, 99%)
CMYKcmyk(46.6%, 58.1%, 0%, 0.8%)
CIE-LABlab(54.61, 46.63, -69.73)
CIE-LCHlch(54.61, 83.89, 303.77°)
OKLaboklab(62.82% 0.0643 -0.1992)
OKLCHoklch(62.82% 0.209 287.9)
XYZxyz(32.8702, 22.5494, 95.5300)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876AFD #E0FD6A
analogous
#6A96FD #876AFD #D16AFD
triadic
#876AFD #FD876A #6AFD87
tetradic
#876AFD #FD6A96 #E0FD6A #6AFDD1
square
#876AFD #FD6A96 #E0FD6A #6AFDD1
split-complementary
#876AFD #FDD16A #96FD6A
monochromatic
#3103E9 #562EFC #876AFD #B8A6FE #E7E1FF

Accessibility & contrast

On white

3.81
#876AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#876AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876AFD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876AFD#FFFFFF#000000##000000
##876AFD1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007FFA
Tritanopia (blue-blind)
#608BA9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876afd;
/* rgb */ color: rgb(135, 106, 253);
/* oklch */ color: oklch(62.8% 0.209 287.9);
Tailwind
colors: {
  custom: {
    50: '#b196ff',
    500: '#876afd',
    950: '#000000',
  },
}
SCSS
$custom: #876afd;
$custom-light: #b196ff;
$custom-dark: #000000;
JSON
{
  "hex": "#876afd",
  "rgb": {
    "r": 135,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 251.837,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.62815,
    "c": 0.20937,
    "h": 287.9
  },
  "luminance": 0.22551
}

Semantic roles & 50–950 ramp

primary
#876AFD
secondary
#EEF6CD
accent
#E600B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #876AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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