#9A47BF#9A47BF

#9A47BF is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.189 H 313.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9A47BF
RGBrgb(154, 71, 191)
HSLhsl(282, 48%, 51%)
HSVhsv(282, 63%, 75%)
CMYKcmyk(19.4%, 62.8%, 0%, 25.1%)
CIE-LABlab(45.82, 53.80, -48.61)
CIE-LCHlch(45.82, 72.51, 317.90°)
OKLaboklab(55.62% 0.1312 -0.1366)
OKLCHoklch(55.62% 0.189 313.9)
XYZxyz(24.9820, 15.1388, 50.8862)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A47BF #6CBF47
analogous
#5E47BF #9A47BF #BF47A8
triadic
#9A47BF #BF9A47 #47BF9A
tetradic
#9A47BF #BF5E47 #6CBF47 #47A8BF
square
#9A47BF #BF5E47 #6CBF47 #47A8BF
split-complementary
#9A47BF #A8BF47 #47BF5E
monochromatic
#532468 #773495 #9A47BF #B374CF #CCA2DF

Accessibility & contrast

On white

5.21
#9A47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9A47BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A47BF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A47BF#FFFFFF#000000##FFFFFF
##9A47BF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1768C3
Deuteranopia (green-blind)
#426FBC
Tritanopia (blue-blind)
#975D7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9a47bf;
/* rgb */ color: rgb(154, 71, 191);
/* oklch */ color: oklch(55.6% 0.189 313.9);
Tailwind
colors: {
  custom: {
    50: '#bb7fd3',
    500: '#9a47bf',
    950: '#000000',
  },
}
SCSS
$custom: #9a47bf;
$custom-light: #bb7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a47bf",
  "rgb": {
    "r": 154,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 281.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55617,
    "c": 0.18939,
    "h": 313.9
  },
  "luminance": 0.15138
}

Semantic roles & 50–950 ramp

primary
#9A47BF
secondary
#A7CB96
accent
#D8507A
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9A47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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