#876FFA#876FFA

#876FFA is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.4% C 0.199 H 287.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#876FFA
RGBrgb(135, 111, 250)
HSLhsl(250, 93%, 71%)
HSVhsv(250, 56%, 98%)
CMYKcmyk(46%, 55.6%, 0%, 2%)
CIE-LABlab(55.50, 42.96, -66.62)
CIE-LCHlch(55.50, 79.27, 302.81°)
OKLaboklab(63.41% 0.059 -0.1901)
OKLCHoklch(63.41% 0.199 287.2)
XYZxyz(32.9264, 23.4205, 93.2096)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FFA #E2FA6F
analogous
#6F9CFA #876FFA #CD6FFA
triadic
#876FFA #FA876F #6FFA87
tetradic
#876FFA #FA6F9C #E2FA6F #6FFACD
square
#876FFA #FA6F9C #E2FA6F #6FFACD
split-complementary
#876FFA #FACD6F #9CFA6F
monochromatic
#2E08E7 #5634F8 #876FFA #B8AAFC #E6E1FE

Accessibility & contrast

On white

3.69
#876FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#876FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FFA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FFA#FFFFFF#000000##000000
##876FFA1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1788FF
Deuteranopia (green-blind)
#1681F7
Tritanopia (blue-blind)
#628EAA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #876ffa;
/* rgb */ color: rgb(135, 111, 250);
/* oklch */ color: oklch(63.4% 0.199 287.2);
Tailwind
colors: {
  custom: {
    50: '#b199fd',
    500: '#876ffa',
    950: '#000000',
  },
}
SCSS
$custom: #876ffa;
$custom-light: #b199fd;
$custom-dark: #000000;
JSON
{
  "hex": "#876ffa",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 250
  },
  "hsl": {
    "h": 250.36,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63414,
    "c": 0.19901,
    "h": 287.2
  },
  "luminance": 0.23422
}

Semantic roles & 50–950 ramp

primary
#876FFA
secondary
#EFF5D0
accent
#E600BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #876FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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