#9947BC#9947BC

#9947BC is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.3% C 0.186 H 314.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9947BC
RGBrgb(153, 71, 188)
HSLhsl(282, 47%, 51%)
HSVhsv(282, 62%, 74%)
CMYKcmyk(18.6%, 62.2%, 0%, 26.3%)
CIE-LABlab(45.51, 52.93, -47.37)
CIE-LCHlch(45.51, 71.03, 318.17°)
OKLaboklab(55.31% 0.13 -0.133)
OKLCHoklch(55.31% 0.186 314.4)
XYZxyz(24.4657, 14.9104, 49.1564)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9947BC #6ABC47
analogous
#5E47BC #9947BC #BC47A5
triadic
#9947BC #BC9947 #47BC99
tetradic
#9947BC #BC5E47 #6ABC47 #47A5BC
square
#9947BC #BC5E47 #6ABC47 #47A5BC
split-complementary
#9947BC #A5BC47 #47BC5E
monochromatic
#512464 #753591 #9947BC #B274CC #CBA1DD

Accessibility & contrast

On white

5.27
#9947BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9947BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9947BC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9947BC#FFFFFF#000000##FFFFFF
##9947BC1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67C0
Deuteranopia (green-blind)
#436EB9
Tritanopia (blue-blind)
#965C7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9947bc;
/* rgb */ color: rgb(153, 71, 188);
/* oklch */ color: oklch(55.3% 0.186 314.4);
Tailwind
colors: {
  custom: {
    50: '#ba7fd1',
    500: '#9947bc',
    950: '#000000',
  },
}
SCSS
$custom: #9947bc;
$custom-light: #ba7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9947bc",
  "rgb": {
    "r": 153,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 282.051,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55305,
    "c": 0.18596,
    "h": 314.4
  },
  "luminance": 0.1491
}

Semantic roles & 50–950 ramp

primary
#9947BC
secondary
#A5C995
accent
#D65279
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9947BC

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

Preview Lab → · Contrast checker → · Palette generator →

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