#9877BF#9877BF

#9877BF is a light, moderate violet. Relative luminance 0.236; OKLCH L 62.9% C 0.111 H 304.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9877BF
RGBrgb(152, 119, 191)
HSLhsl(268, 36%, 61%)
HSVhsv(268, 38%, 75%)
CMYKcmyk(20.4%, 37.7%, 0%, 25.1%)
CIE-LABlab(55.72, 27.28, -33.00)
CIE-LCHlch(55.72, 42.82, 309.58°)
OKLaboklab(62.91% 0.0628 -0.0915)
OKLCHoklch(62.91% 0.111 304.5)
XYZxyz(28.9478, 23.6307, 52.3163)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9877BF #9EBF77
analogous
#777ABF #9877BF #BC77BF
triadic
#9877BF #BF9877 #77BF98
tetradic
#9877BF #BF777A #9EBF77 #77BFBC
square
#9877BF #BF777A #9EBF77 #77BFBC
split-complementary
#9877BF #BFBC77 #7ABF77
monochromatic
#5B3C80 #7950A9 #9877BF #B8A1D3 #D7CAE6

Accessibility & contrast

On white

3.67
#9877BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#9877BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9877BF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9877BF#FFFFFF#000000##000000
##9877BF1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6785C2
Deuteranopia (green-blind)
#6E86BD
Tritanopia (blue-blind)
#928292
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9877bf;
/* rgb */ color: rgb(152, 119, 191);
/* oklch */ color: oklch(62.9% 0.111 304.5);
Tailwind
colors: {
  custom: {
    50: '#b79ed2',
    500: '#9877bf',
    950: '#000000',
  },
}
SCSS
$custom: #9877bf;
$custom-light: #b79ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9877bf",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 191
  },
  "hsl": {
    "h": 267.5,
    "s": 36,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62912,
    "c": 0.11097,
    "h": 304.5
  },
  "luminance": 0.23631
}

Semantic roles & 50–950 ramp

primary
#9877BF
secondary
#CAD7BB
accent
#AF3778
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9877BF

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

Preview Lab → · Contrast checker → · Palette generator →

#9877BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva