#876AFA#876AFA

#876AFA is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 62.6% C 0.206 H 288.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#876AFA
RGBrgb(135, 106, 250)
HSLhsl(252, 94%, 70%)
HSVhsv(252, 58%, 98%)
CMYKcmyk(46%, 57.6%, 0%, 2%)
CIE-LABlab(54.41, 45.79, -68.39)
CIE-LCHlch(54.41, 82.30, 303.80°)
OKLaboklab(62.61% 0.0644 -0.1953)
OKLCHoklch(62.61% 0.206 288.2)
XYZxyz(32.3961, 22.3598, 93.0329)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876AFA #DDFA6A
analogous
#6A95FA #876AFA #CF6AFA
triadic
#876AFA #FA876A #6AFA87
tetradic
#876AFA #FA6A95 #DDFA6A #6AFACF
square
#876AFA #FA6A95 #DDFA6A #6AFACF
split-complementary
#876AFA #FACF6A #95FA6A
monochromatic
#3408E2 #572FF8 #876AFA #B7A5FC #E6E0FE

Accessibility & contrast

On white

3.84
#876AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#876AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876AFA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876AFA#FFFFFF#000000##000000
##876AFA1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007EF7
Tritanopia (blue-blind)
#628BA8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #876afa;
/* rgb */ color: rgb(135, 106, 250);
/* oklch */ color: oklch(62.6% 0.206 288.2);
Tailwind
colors: {
  custom: {
    50: '#b195fd',
    500: '#876afa',
    950: '#000000',
  },
}
SCSS
$custom: #876afa;
$custom-light: #b195fd;
$custom-dark: #000000;
JSON
{
  "hex": "#876afa",
  "rgb": {
    "r": 135,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 252.083,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62606,
    "c": 0.20564,
    "h": 288.2
  },
  "luminance": 0.22361
}

Semantic roles & 50–950 ramp

primary
#876AFA
secondary
#ECF4CC
accent
#E600B7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #876AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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