#9879BB#9879BB

#9879BB is a light, moderate violet. Relative luminance 0.239; OKLCH L 63.1% C 0.102 H 305.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9879BB
RGBrgb(152, 121, 187)
HSLhsl(268, 33%, 60%)
HSVhsv(268, 35%, 73%)
CMYKcmyk(18.7%, 35.3%, 0%, 26.7%)
CIE-LABlab(56.03, 25.20, -30.23)
CIE-LCHlch(56.03, 39.35, 309.81°)
OKLaboklab(63.09% 0.059 -0.0835)
OKLCHoklch(63.09% 0.102 305.2)
XYZxyz(28.7541, 23.9381, 50.1098)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9879BB #9CBB79
analogous
#797BBB #9879BB #B979BB
triadic
#9879BB #BB9879 #79BB98
tetradic
#9879BB #BB797B #9CBB79 #79BBB9
square
#9879BB #BB797B #9CBB79 #79BBB9
split-complementary
#9879BB #BBB979 #7BBB79
monochromatic
#5B3E7B #7953A4 #9879BB #B7A2D0 #D6CAE4

Accessibility & contrast

On white

3.63
#9879BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#9879BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9879BB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9879BB#FFFFFF#000000##000000
##9879BB1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B85BE
Deuteranopia (green-blind)
#7186B9
Tritanopia (blue-blind)
#938391
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9879bb;
/* rgb */ color: rgb(152, 121, 187);
/* oklch */ color: oklch(63.1% 0.102 305.2);
Tailwind
colors: {
  custom: {
    50: '#b7a0cf',
    500: '#9879bb',
    950: '#000000',
  },
}
SCSS
$custom: #9879bb;
$custom-light: #b7a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9879bb",
  "rgb": {
    "r": 152,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 268.182,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6309,
    "c": 0.10225,
    "h": 305.2
  },
  "luminance": 0.23938
}

Semantic roles & 50–950 ramp

primary
#9879BB
secondary
#C9D5BB
accent
#AB3A76
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9879BB

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

Preview Lab → · Contrast checker → · Palette generator →

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