#9E47AF#9E47AF

#9E47AF is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.2% C 0.175 H 320.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9E47AF
RGBrgb(158, 71, 175)
HSLhsl(290, 42%, 48%)
HSVhsv(290, 59%, 69%)
CMYKcmyk(9.7%, 59.4%, 0%, 31.4%)
CIE-LABlab(45.46, 51.52, -39.80)
CIE-LCHlch(45.46, 65.10, 322.31°)
OKLaboklab(55.17% 0.1359 -0.1107)
OKLCHoklch(55.17% 0.175 320.8)
XYZxyz(24.0908, 14.8718, 42.1507)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47AF #58AF47
analogous
#6A47AF #9E47AF #AF478C
triadic
#9E47AF #AF9E47 #47AF9E
tetradic
#9E47AF #AF6A47 #58AF47 #478CAF
square
#9E47AF #AF6A47 #58AF47 #478CAF
split-complementary
#9E47AF #8CAF47 #47AF6A
monochromatic
#4F2458 #773583 #9E47AF #B66FC4 #CC9AD6

Accessibility & contrast

On white

5.28
#9E47AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9E47AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E47AF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47AF#FFFFFF#000000##FFFFFF
##9E47AF1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#516FAC
Tritanopia (blue-blind)
#9F5774
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e47af;
/* rgb */ color: rgb(158, 71, 175);
/* oklch */ color: oklch(55.2% 0.175 320.8);
Tailwind
colors: {
  custom: {
    50: '#bd7fc7',
    500: '#9e47af',
    950: '#000000',
  },
}
SCSS
$custom: #9e47af;
$custom-light: #bd7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47af",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 290.192,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55171,
    "c": 0.17526,
    "h": 320.8
  },
  "luminance": 0.14871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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