#876AF2#876AF2

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

Color values

HEX#876AF2
RGBrgb(135, 106, 242)
HSLhsl(253, 84%, 68%)
HSVhsv(253, 56%, 95%)
CMYKcmyk(44.2%, 56.2%, 0%, 5.1%)
CIE-LABlab(53.89, 43.56, -64.78)
CIE-LCHlch(53.89, 78.06, 303.91°)
OKLaboklab(62.06% 0.0645 -0.1847)
OKLCHoklch(62.06% 0.196 289.2)
XYZxyz(31.1682, 21.8686, 86.5660)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876AF2 #D5F26A
analogous
#6A91F2 #876AF2 #CB6AF2
triadic
#876AF2 #F2876A #6AF287
tetradic
#876AF2 #F26A91 #D5F26A #6AF2CB
square
#876AF2 #F26A91 #D5F26A #6AF2CB
split-complementary
#876AF2 #F2CB6A #91F26A
monochromatic
#3A12CF #5A32ED #876AF2 #B4A2F7 #E2DBFC

Accessibility & contrast

On white

3.91
#876AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#876AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876AF2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876AF2#FFFFFF#000000##000000
##876AF21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1384F7
Deuteranopia (green-blind)
#1A7EEF
Tritanopia (blue-blind)
#6788A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #876af2;
/* rgb */ color: rgb(135, 106, 242);
/* oklch */ color: oklch(62.1% 0.196 289.2);
Tailwind
colors: {
  custom: {
    50: '#b095f7',
    500: '#876af2',
    950: '#000000',
  },
}
SCSS
$custom: #876af2;
$custom-light: #b095f7;
$custom-dark: #000000;
JSON
{
  "hex": "#876af2",
  "rgb": {
    "r": 135,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 252.794,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62058,
    "c": 0.19561,
    "h": 289.2
  },
  "luminance": 0.2187
}

Semantic roles & 50–950 ramp

primary
#876AF2
secondary
#E8F1C7
accent
#E005B2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #876AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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