#9876BC#9876BC

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

Color values

HEX#9876BC
RGBrgb(152, 118, 188)
HSLhsl(269, 34%, 60%)
HSVhsv(269, 37%, 74%)
CMYKcmyk(19.1%, 37.2%, 0%, 26.3%)
CIE-LABlab(55.34, 27.16, -31.87)
CIE-LCHlch(55.34, 41.87, 310.44°)
OKLaboklab(62.59% 0.0636 -0.0882)
OKLCHoklch(62.59% 0.109 305.8)
XYZxyz(28.5026, 23.2633, 50.5559)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9876BC #9ABC76
analogous
#7677BC #9876BC #BB76BC
triadic
#9876BC #BC9876 #76BC98
tetradic
#9876BC #BC7677 #9ABC76 #76BCBB
square
#9876BC #BC7677 #9ABC76 #76BCBB
split-complementary
#9876BC #BCBB76 #77BC76
monochromatic
#5B3C7B #7950A4 #9876BC #B79FD0 #D6C8E4

Accessibility & contrast

On white

3.72
#9876BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#9876BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9876BC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9876BC#FFFFFF#000000##000000
##9876BC1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6783BF
Deuteranopia (green-blind)
#6E85BA
Tritanopia (blue-blind)
#938190
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9876bc;
/* rgb */ color: rgb(152, 118, 188);
/* oklch */ color: oklch(62.6% 0.109 305.8);
Tailwind
colors: {
  custom: {
    50: '#b79ed0',
    500: '#9876bc',
    950: '#000000',
  },
}
SCSS
$custom: #9876bc;
$custom-light: #b79ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9876bc",
  "rgb": {
    "r": 152,
    "g": 118,
    "b": 188
  },
  "hsl": {
    "h": 269.143,
    "s": 34.314,
    "l": 60
  },
  "oklch": {
    "l": 0.62585,
    "c": 0.10876,
    "h": 305.8
  },
  "luminance": 0.23263
}

Semantic roles & 50–950 ramp

primary
#9876BC
secondary
#C7D4B9
accent
#CA5D95
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9876BC

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

Preview Lab → · Contrast checker → · Palette generator →

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