#9F47BC#9F47BC

#9F47BC is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.1% C 0.188 H 316.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9F47BC
RGBrgb(159, 71, 188)
HSLhsl(285, 47%, 51%)
HSVhsv(285, 62%, 74%)
CMYKcmyk(15.4%, 62.2%, 0%, 26.3%)
CIE-LABlab(46.32, 54.38, -46.03)
CIE-LCHlch(46.32, 71.24, 319.75°)
OKLaboklab(56.07% 0.1375 -0.1289)
OKLCHoklch(56.07% 0.188 316.8)
XYZxyz(25.6271, 15.5092, 49.2108)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47BC #64BC47
analogous
#6447BC #9F47BC #BC479F
triadic
#9F47BC #BC9F47 #47BC9F
tetradic
#9F47BC #BC6447 #64BC47 #479FBC
square
#9F47BC #BC6447 #64BC47 #479FBC
split-complementary
#9F47BC #9FBC47 #47BC64
monochromatic
#542464 #7A3591 #9F47BC #B674CC #CEA1DD

Accessibility & contrast

On white

5.12
#9F47BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9F47BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47BC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47BC#FFFFFF#000000##FFFFFF
##9F47BC1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268C0
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#9E5B7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f47bc;
/* rgb */ color: rgb(159, 71, 188);
/* oklch */ color: oklch(56.1% 0.188 316.8);
Tailwind
colors: {
  custom: {
    50: '#be80d1',
    500: '#9f47bc',
    950: '#000000',
  },
}
SCSS
$custom: #9f47bc;
$custom-light: #be80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47bc",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 285.128,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56065,
    "c": 0.18841,
    "h": 316.8
  },
  "luminance": 0.15508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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