#9A47BC#9A47BC

#9A47BC is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.4% C 0.186 H 314.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9A47BC
RGBrgb(154, 71, 188)
HSLhsl(283, 47%, 51%)
HSVhsv(283, 62%, 74%)
CMYKcmyk(18.1%, 62.2%, 0%, 26.3%)
CIE-LABlab(45.65, 53.17, -47.15)
CIE-LCHlch(45.65, 71.06, 318.43°)
OKLaboklab(55.43% 0.1313 -0.1323)
OKLCHoklch(55.43% 0.186 314.8)
XYZxyz(24.6553, 15.0081, 49.1653)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A47BC #69BC47
analogous
#5F47BC #9A47BC #BC47A3
triadic
#9A47BC #BC9A47 #47BC9A
tetradic
#9A47BC #BC5F47 #69BC47 #47A3BC
square
#9A47BC #BC5F47 #69BC47 #47A3BC
split-complementary
#9A47BC #A3BC47 #47BC5F
monochromatic
#522464 #763591 #9A47BC #B374CC #CBA1DD

Accessibility & contrast

On white

5.25
#9A47BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9A47BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A47BC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A47BC#FFFFFF#000000##FFFFFF
##9A47BC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67C0
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#975C7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9a47bc;
/* rgb */ color: rgb(154, 71, 188);
/* oklch */ color: oklch(55.4% 0.186 314.8);
Tailwind
colors: {
  custom: {
    50: '#bb7fd1',
    500: '#9a47bc',
    950: '#000000',
  },
}
SCSS
$custom: #9a47bc;
$custom-light: #bb7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a47bc",
  "rgb": {
    "r": 154,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 282.564,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5543,
    "c": 0.18635,
    "h": 314.8
  },
  "luminance": 0.15007
}

Semantic roles & 50–950 ramp

primary
#9A47BC
secondary
#A5C995
accent
#D65278
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9A47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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