#9947BF#9947BF

#9947BF is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.189 H 313.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9947BF
RGBrgb(153, 71, 191)
HSLhsl(281, 48%, 51%)
HSVhsv(281, 63%, 75%)
CMYKcmyk(19.9%, 62.8%, 0%, 25.1%)
CIE-LABlab(45.69, 53.56, -48.83)
CIE-LCHlch(45.69, 72.48, 317.64°)
OKLaboklab(55.49% 0.13 -0.1372)
OKLCHoklch(55.49% 0.189 313.4)
XYZxyz(24.7925, 15.0411, 50.8773)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9947BF #6DBF47
analogous
#5D47BF #9947BF #BF47A9
triadic
#9947BF #BF9947 #47BF99
tetradic
#9947BF #BF5D47 #6DBF47 #47A9BF
square
#9947BF #BF5D47 #6DBF47 #47A9BF
split-complementary
#9947BF #A9BF47 #47BF5D
monochromatic
#522468 #763495 #9947BF #B274CF #CBA2DF

Accessibility & contrast

On white

5.24
#9947BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9947BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9947BF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9947BF#FFFFFF#000000##FFFFFF
##9947BF1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#416EBC
Tritanopia (blue-blind)
#955D7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9947bf;
/* rgb */ color: rgb(153, 71, 191);
/* oklch */ color: oklch(55.5% 0.189 313.4);
Tailwind
colors: {
  custom: {
    50: '#ba7fd3',
    500: '#9947bf',
    950: '#000000',
  },
}
SCSS
$custom: #9947bf;
$custom-light: #ba7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9947bf",
  "rgb": {
    "r": 153,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 281,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55492,
    "c": 0.18901,
    "h": 313.4
  },
  "luminance": 0.1504
}

Semantic roles & 50–950 ramp

primary
#9947BF
secondary
#A7CB96
accent
#D8507B
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9947BF

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

Preview Lab → · Contrast checker → · Palette generator →

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