#9D47AF#9D47AF

#9D47AF is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.0% C 0.175 H 320.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9D47AF
RGBrgb(157, 71, 175)
HSLhsl(290, 42%, 48%)
HSVhsv(290, 59%, 69%)
CMYKcmyk(10.3%, 59.4%, 0%, 31.4%)
CIE-LABlab(45.32, 51.26, -40.03)
CIE-LCHlch(45.32, 65.04, 322.01°)
OKLaboklab(55.04% 0.1346 -0.1114)
OKLCHoklch(55.04% 0.175 320.4)
XYZxyz(23.8948, 14.7708, 42.1415)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47AF #59AF47
analogous
#6947AF #9D47AF #AF478D
triadic
#9D47AF #AF9D47 #47AF9D
tetradic
#9D47AF #AF6947 #59AF47 #478DAF
square
#9D47AF #AF6947 #59AF47 #478DAF
split-complementary
#9D47AF #8DAF47 #47AF69
monochromatic
#4F2458 #763583 #9D47AF #B66FC4 #CC9AD6

Accessibility & contrast

On white

5.31
#9D47AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9D47AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47AF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47AF#FFFFFF#000000##FFFFFF
##9D47AF1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#9E5774
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d47af;
/* rgb */ color: rgb(157, 71, 175);
/* oklch */ color: oklch(55.0% 0.175 320.4);
Tailwind
colors: {
  custom: {
    50: '#bd7fc7',
    500: '#9d47af',
    950: '#000000',
  },
}
SCSS
$custom: #9d47af;
$custom-light: #bd7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47af",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 289.615,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55041,
    "c": 0.17477,
    "h": 320.4
  },
  "luminance": 0.1477
}

Semantic roles & 50–950 ramp

primary
#9D47AF
secondary
#98C28F
accent
#D2566B
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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