#9F47BD#9F47BD

#9F47BD is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.1% C 0.189 H 316.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9F47BD
RGBrgb(159, 71, 189)
HSLhsl(285, 47%, 51%)
HSVhsv(285, 62%, 74%)
CMYKcmyk(15.9%, 62.4%, 0%, 25.9%)
CIE-LABlab(46.38, 54.58, -46.52)
CIE-LCHlch(46.38, 71.72, 319.56°)
OKLaboklab(56.13% 0.1375 -0.1303)
OKLCHoklch(56.13% 0.189 316.5)
XYZxyz(25.7352, 15.5525, 49.7805)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47BD #65BD47
analogous
#6447BD #9F47BD #BD47A0
triadic
#9F47BD #BD9F47 #47BD9F
tetradic
#9F47BD #BD6447 #65BD47 #47A0BD
square
#9F47BD #BD6447 #65BD47 #47A0BD
split-complementary
#9F47BD #A0BD47 #47BD64
monochromatic
#552465 #7A3492 #9F47BD #B774CD #CEA1DD

Accessibility & contrast

On white

5.11
#9F47BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9F47BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47BD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47BD#FFFFFF#000000##FFFFFF
##9F47BD1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168C1
Deuteranopia (green-blind)
#4871BA
Tritanopia (blue-blind)
#9D5C7C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f47bd;
/* rgb */ color: rgb(159, 71, 189);
/* oklch */ color: oklch(56.1% 0.189 316.5);
Tailwind
colors: {
  custom: {
    50: '#be80d1',
    500: '#9f47bd',
    950: '#000000',
  },
}
SCSS
$custom: #9f47bd;
$custom-light: #be80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47bd",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 284.746,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56125,
    "c": 0.1894,
    "h": 316.5
  },
  "luminance": 0.15552
}

Semantic roles & 50–950 ramp

primary
#9F47BD
secondary
#A3CA96
accent
#D75173
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9F47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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