#9F47BF#9F47BF

#9F47BF is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.2% C 0.191 H 315.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9F47BF
RGBrgb(159, 71, 191)
HSLhsl(284, 48%, 51%)
HSVhsv(284, 63%, 75%)
CMYKcmyk(16.8%, 62.8%, 0%, 25.1%)
CIE-LABlab(46.50, 54.99, -47.50)
CIE-LCHlch(46.50, 72.66, 319.18°)
OKLaboklab(56.25% 0.1374 -0.1331)
OKLCHoklch(56.25% 0.191 315.9)
XYZxyz(25.9538, 15.6399, 50.9318)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47BF #67BF47
analogous
#6347BF #9F47BF #BF47A3
triadic
#9F47BF #BF9F47 #47BF9F
tetradic
#9F47BF #BF6347 #67BF47 #47A3BF
square
#9F47BF #BF6347 #67BF47 #47A3BF
split-complementary
#9F47BF #A3BF47 #47BF63
monochromatic
#562468 #7B3495 #9F47BF #B774CF #CEA2DF

Accessibility & contrast

On white

5.09
#9F47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9F47BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47BF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47BF#FFFFFF#000000##FFFFFF
##9F47BF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C3
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#9D5D7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f47bf;
/* rgb */ color: rgb(159, 71, 191);
/* oklch */ color: oklch(56.2% 0.191 315.9);
Tailwind
colors: {
  custom: {
    50: '#bf80d3',
    500: '#9f47bf',
    950: '#000000',
  },
}
SCSS
$custom: #9f47bf;
$custom-light: #bf80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47bf",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 284,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56247,
    "c": 0.19136,
    "h": 315.9
  },
  "luminance": 0.15639
}

Semantic roles & 50–950 ramp

primary
#9F47BF
secondary
#A5CB96
accent
#D85074
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9F47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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