#9879BC#9879BC

#9879BC is a light, moderate violet. Relative luminance 0.240; OKLCH L 63.1% C 0.104 H 304.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9879BC
RGBrgb(152, 121, 188)
HSLhsl(268, 33%, 61%)
HSVhsv(268, 36%, 74%)
CMYKcmyk(19.1%, 35.6%, 0%, 26.3%)
CIE-LABlab(56.07, 25.43, -30.74)
CIE-LCHlch(56.07, 39.89, 309.60°)
OKLaboklab(63.14% 0.0592 -0.085)
OKLCHoklch(63.14% 0.104 304.9)
XYZxyz(28.8615, 23.9811, 50.6755)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9879BC #9DBC79
analogous
#797BBC #9879BC #B979BC
triadic
#9879BC #BC9879 #79BC98
tetradic
#9879BC #BC797B #9DBC79 #79BCB9
square
#9879BC #BC797B #9DBC79 #79BCB9
split-complementary
#9879BC #BCB979 #7BBC79
monochromatic
#5B3E7C #7953A5 #9879BC #B7A2D0 #D7CBE5

Accessibility & contrast

On white

3.62
#9879BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#9879BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9879BC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9879BC#FFFFFF#000000##000000
##9879BC1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B85BF
Deuteranopia (green-blind)
#7187BA
Tritanopia (blue-blind)
#938392
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9879bc;
/* rgb */ color: rgb(152, 121, 188);
/* oklch */ color: oklch(63.1% 0.104 304.9);
Tailwind
colors: {
  custom: {
    50: '#b7a0d0',
    500: '#9879bc',
    950: '#000000',
  },
}
SCSS
$custom: #9879bc;
$custom-light: #b7a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9879bc",
  "rgb": {
    "r": 152,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 267.761,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63137,
    "c": 0.10357,
    "h": 304.9
  },
  "luminance": 0.23981
}

Semantic roles & 50–950 ramp

primary
#9879BC
secondary
#C9D5BC
accent
#AC3977
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9879BC

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

Preview Lab → · Contrast checker → · Palette generator →

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