#9F47BB#9F47BB

#9F47BB is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.0% C 0.187 H 317.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9F47BB
RGBrgb(159, 71, 187)
HSLhsl(286, 46%, 51%)
HSVhsv(286, 62%, 73%)
CMYKcmyk(15%, 62%, 0%, 26.7%)
CIE-LABlab(46.27, 54.17, -45.54)
CIE-LCHlch(46.27, 70.77, 319.95°)
OKLaboklab(56% 0.1374 -0.1274)
OKLCHoklch(56% 0.187 317.2)
XYZxyz(25.5197, 15.4662, 48.6451)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47BB #63BB47
analogous
#6547BB #9F47BB #BB479D
triadic
#9F47BB #BB9F47 #47BB9F
tetradic
#9F47BB #BB6547 #63BB47 #479DBB
square
#9F47BB #BB6547 #63BB47 #479DBB
split-complementary
#9F47BB #9DBB47 #47BB65
monochromatic
#542563 #7A3590 #9F47BB #B674CC #CEA0DC

Accessibility & contrast

On white

5.13
#9F47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9F47BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47BB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47BB#FFFFFF#000000##FFFFFF
##9F47BB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BF
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#9E5B7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f47bb;
/* rgb */ color: rgb(159, 71, 187);
/* oklch */ color: oklch(56.0% 0.187 317.2);
Tailwind
colors: {
  custom: {
    50: '#be80d0',
    500: '#9f47bb',
    950: '#000000',
  },
}
SCSS
$custom: #9f47bb;
$custom-light: #be80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47bb",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 285.517,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56004,
    "c": 0.18743,
    "h": 317.2
  },
  "luminance": 0.15465
}

Semantic roles & 50–950 ramp

primary
#9F47BB
secondary
#A2C995
accent
#D65272
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9F47BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9F47BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva