#9F47C8#9F47C8

#9F47C8 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.8% C 0.200 H 313.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9F47C8
RGBrgb(159, 71, 200)
HSLhsl(281, 54%, 53%)
HSVhsv(281, 65%, 78%)
CMYKcmyk(20.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(47.04, 56.87, -51.85)
CIE-LCHlch(47.04, 76.96, 317.64°)
OKLaboklab(56.81% 0.1372 -0.1459)
OKLCHoklch(56.81% 0.2 313.2)
XYZxyz(26.9748, 16.0483, 56.3090)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47C8 #70C847
analogous
#5E47C8 #9F47C8 #C847B1
triadic
#9F47C8 #C89F47 #47C89F
tetradic
#9F47C8 #C85E47 #70C847 #47B1C8
square
#9F47C8 #C85E47 #70C847 #47B1C8
split-complementary
#9F47C8 #B1C847 #47C85E
monochromatic
#592272 #7E30A2 #9F47C8 #B876D6 #D0A5E4

Accessibility & contrast

On white

4.99
#9F47C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9F47C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47C8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47C8#FFFFFF#000000##FFFFFF
##9F47C81.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036BCC
Deuteranopia (green-blind)
#3F72C5
Tritanopia (blue-blind)
#9B6081
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f47c8;
/* rgb */ color: rgb(159, 71, 200);
/* oklch */ color: oklch(56.8% 0.200 313.2);
Tailwind
colors: {
  custom: {
    50: '#bf80d9',
    500: '#9f47c8',
    950: '#000000',
  },
}
SCSS
$custom: #9f47c8;
$custom-light: #bf80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47c8",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 280.93,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5681,
    "c": 0.20028,
    "h": 313.2
  },
  "luminance": 0.16048
}

Semantic roles & 50–950 ramp

primary
#9F47C8
secondary
#ABD19A
accent
#DD4A79
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F47C8

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

Preview Lab → · Contrast checker → · Palette generator →

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