#9C47BF#9C47BF

#9C47BF is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.190 H 314.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9C47BF
RGBrgb(156, 71, 191)
HSLhsl(283, 48%, 51%)
HSVhsv(283, 63%, 75%)
CMYKcmyk(18.3%, 62.8%, 0%, 25.1%)
CIE-LABlab(46.09, 54.28, -48.17)
CIE-LCHlch(46.09, 72.57, 318.41°)
OKLaboklab(55.87% 0.1337 -0.1352)
OKLCHoklch(55.87% 0.19 314.7)
XYZxyz(25.3660, 15.3368, 50.9042)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C47BF #6ABF47
analogous
#6047BF #9C47BF #BF47A6
triadic
#9C47BF #BF9C47 #47BF9C
tetradic
#9C47BF #BF6047 #6ABF47 #47A6BF
square
#9C47BF #BF6047 #6ABF47 #47A6BF
split-complementary
#9C47BF #A6BF47 #47BF60
monochromatic
#542468 #793495 #9C47BF #B474CF #CDA2DF

Accessibility & contrast

On white

5.16
#9C47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9C47BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C47BF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C47BF#FFFFFF#000000##FFFFFF
##9C47BF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#446FBC
Tritanopia (blue-blind)
#995D7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9c47bf;
/* rgb */ color: rgb(156, 71, 191);
/* oklch */ color: oklch(55.9% 0.190 314.7);
Tailwind
colors: {
  custom: {
    50: '#bc7fd3',
    500: '#9c47bf',
    950: '#000000',
  },
}
SCSS
$custom: #9c47bf;
$custom-light: #bc7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c47bf",
  "rgb": {
    "r": 156,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 282.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55868,
    "c": 0.19017,
    "h": 314.7
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

primary
#9C47BF
secondary
#A6CB96
accent
#D85078
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9C47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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