#9971BB#9971BB

#9971BB is a mid, moderate violet. Relative luminance 0.222; OKLCH L 61.7% C 0.117 H 308.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9971BB
RGBrgb(153, 113, 187)
HSLhsl(272, 35%, 59%)
HSVhsv(272, 40%, 73%)
CMYKcmyk(18.2%, 39.6%, 0%, 26.7%)
CIE-LABlab(54.21, 30.11, -33.05)
CIE-LCHlch(54.21, 44.71, 312.33°)
OKLaboklab(61.73% 0.072 -0.0916)
OKLCHoklch(61.73% 0.117 308.2)
XYZxyz(28.0099, 22.1707, 49.8079)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9971BB #93BB71
analogous
#7471BB #9971BB #BB71B8
triadic
#9971BB #BB9971 #71BB99
tetradic
#9971BB #BB7471 #93BB71 #71B8BB
square
#9971BB #BB7471 #93BB71 #71B8BB
split-complementary
#9971BB #B8BB71 #71BB74
monochromatic
#5B3A78 #7B4DA1 #9971BB #B79ACF #D4C4E3

Accessibility & contrast

On white

3.86
#9971BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#9971BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9971BB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9971BB#FFFFFF#000000##000000
##9971BB1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BE
Deuteranopia (green-blind)
#6B82B9
Tritanopia (blue-blind)
#957C8D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9971bb;
/* rgb */ color: rgb(153, 113, 187);
/* oklch */ color: oklch(61.7% 0.117 308.2);
Tailwind
colors: {
  custom: {
    50: '#b89acf',
    500: '#9971bb',
    950: '#000000',
  },
}
SCSS
$custom: #9971bb;
$custom-light: #b89acf;
$custom-dark: #000000;
JSON
{
  "hex": "#9971bb",
  "rgb": {
    "r": 153,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 272.432,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61734,
    "c": 0.1165,
    "h": 308.2
  },
  "luminance": 0.2217
}

Semantic roles & 50–950 ramp

primary
#9971BB
secondary
#C3D2B5
accent
#CB5D8F
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9971BB

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

Preview Lab → · Contrast checker → · Palette generator →

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