#9A47BD#9A47BD

#9A47BD is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.5% C 0.187 H 314.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9A47BD
RGBrgb(154, 71, 189)
HSLhsl(282, 47%, 51%)
HSVhsv(282, 62%, 74%)
CMYKcmyk(18.5%, 62.4%, 0%, 25.9%)
CIE-LABlab(45.70, 53.38, -47.64)
CIE-LCHlch(45.70, 71.55, 318.25°)
OKLaboklab(55.49% 0.1312 -0.1337)
OKLCHoklch(55.49% 0.187 314.5)
XYZxyz(24.7635, 15.0514, 49.7350)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A47BD #6ABD47
analogous
#5F47BD #9A47BD #BD47A5
triadic
#9A47BD #BD9A47 #47BD9A
tetradic
#9A47BD #BD5F47 #6ABD47 #47A5BD
square
#9A47BD #BD5F47 #6ABD47 #47A5BD
split-complementary
#9A47BD #A5BD47 #47BD5F
monochromatic
#522465 #763492 #9A47BD #B374CD #CBA1DD

Accessibility & contrast

On white

5.24
#9A47BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9A47BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A47BD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A47BD#FFFFFF#000000##FFFFFF
##9A47BD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B68C1
Deuteranopia (green-blind)
#436EBA
Tritanopia (blue-blind)
#975D7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9a47bd;
/* rgb */ color: rgb(154, 71, 189);
/* oklch */ color: oklch(55.5% 0.187 314.5);
Tailwind
colors: {
  custom: {
    50: '#bb7fd1',
    500: '#9a47bd',
    950: '#000000',
  },
}
SCSS
$custom: #9a47bd;
$custom-light: #bb7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a47bd",
  "rgb": {
    "r": 154,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 282.203,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55492,
    "c": 0.18736,
    "h": 314.5
  },
  "luminance": 0.15051
}

Semantic roles & 50–950 ramp

primary
#9A47BD
secondary
#A5CA96
accent
#D75179
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9A47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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