#9876B3#9876B3

#9876B3 is a light, moderate violet. Relative luminance 0.229; OKLCH L 62.2% C 0.097 H 309.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9876B3
RGBrgb(152, 118, 179)
HSLhsl(273, 29%, 58%)
HSVhsv(273, 34%, 70%)
CMYKcmyk(15.1%, 34.1%, 0%, 29.8%)
CIE-LABlab(54.96, 25.11, -27.30)
CIE-LCHlch(54.96, 37.09, 312.60°)
OKLaboklab(62.16% 0.0615 -0.0751)
OKLCHoklch(62.16% 0.097 309.3)
XYZxyz(27.5625, 22.8872, 45.6048)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9876B3 #91B376
analogous
#7976B3 #9876B3 #B376AF
triadic
#9876B3 #B39876 #76B398
tetradic
#9876B3 #B37976 #91B376 #76AFB3
square
#9876B3 #B37976 #91B376 #76AFB3
split-complementary
#9876B3 #AFB376 #76B379
monochromatic
#5A3E70 #7A5498 #9876B3 #B69DC9 #D3C5DF

Accessibility & contrast

On white

3.77
#9876B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#9876B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9876B3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9876B3#FFFFFF#000000##000000
##9876B31.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B82B5
Deuteranopia (green-blind)
#7284B1
Tritanopia (blue-blind)
#957F8C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9876b3;
/* rgb */ color: rgb(152, 118, 179);
/* oklch */ color: oklch(62.2% 0.097 309.3);
Tailwind
colors: {
  custom: {
    50: '#b79eca',
    500: '#9876b3',
    950: '#000000',
  },
}
SCSS
$custom: #9876b3;
$custom-light: #b79eca;
$custom-dark: #000000;
JSON
{
  "hex": "#9876b3",
  "rgb": {
    "r": 152,
    "g": 118,
    "b": 179
  },
  "hsl": {
    "h": 273.443,
    "s": 28.638,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62164,
    "c": 0.09708,
    "h": 309.3
  },
  "luminance": 0.22887
}

Semantic roles & 50–950 ramp

primary
#9876B3
secondary
#C1CFB6
accent
#C5638E
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #9876B3

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

Preview Lab → · Contrast checker → · Palette generator →

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