#9876BD#9876BD

#9876BD is a light, moderate violet. Relative luminance 0.233; OKLCH L 62.6% C 0.110 H 305.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9876BD
RGBrgb(152, 118, 189)
HSLhsl(269, 35%, 60%)
HSVhsv(269, 38%, 74%)
CMYKcmyk(19.6%, 37.6%, 0%, 25.9%)
CIE-LABlab(55.39, 27.39, -32.37)
CIE-LCHlch(55.39, 42.40, 310.24°)
OKLaboklab(62.63% 0.0639 -0.0897)
OKLCHoklch(62.63% 0.11 305.5)
XYZxyz(28.6108, 23.3065, 51.1256)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9876BD #9BBD76
analogous
#7678BD #9876BD #BB76BD
triadic
#9876BD #BD9876 #76BD98
tetradic
#9876BD #BD7678 #9BBD76 #76BDBB
square
#9876BD #BD7678 #9BBD76 #76BDBB
split-complementary
#9876BD #BDBB76 #78BD76
monochromatic
#5B3C7D #7950A6 #9876BD #B79FD1 #D6C9E5

Accessibility & contrast

On white

3.71
#9876BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#9876BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9876BD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9876BD#FFFFFF#000000##000000
##9876BD1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784C0
Deuteranopia (green-blind)
#6E85BB
Tritanopia (blue-blind)
#928191
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9876bd;
/* rgb */ color: rgb(152, 118, 189);
/* oklch */ color: oklch(62.6% 0.110 305.5);
Tailwind
colors: {
  custom: {
    50: '#b79ed1',
    500: '#9876bd',
    950: '#000000',
  },
}
SCSS
$custom: #9876bd;
$custom-light: #b79ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9876bd",
  "rgb": {
    "r": 152,
    "g": 118,
    "b": 189
  },
  "hsl": {
    "h": 268.732,
    "s": 34.975,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62633,
    "c": 0.11007,
    "h": 305.5
  },
  "luminance": 0.23306
}

Semantic roles & 50–950 ramp

primary
#9876BD
secondary
#C8D5BA
accent
#AE3875
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9876BD

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

Preview Lab → · Contrast checker → · Palette generator →

#9876BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva