#9E47B2#9E47B2

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

Color values

HEX#9E47B2
RGBrgb(158, 71, 178)
HSLhsl(289, 43%, 49%)
HSVhsv(289, 60%, 70%)
CMYKcmyk(11.2%, 60.1%, 0%, 30.2%)
CIE-LABlab(45.62, 52.12, -41.30)
CIE-LCHlch(45.62, 66.50, 321.60°)
OKLaboklab(55.34% 0.136 -0.1151)
OKLCHoklch(55.34% 0.178 319.8)
XYZxyz(24.3887, 14.9910, 43.7197)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47B2 #5BB247
analogous
#6947B2 #9E47B2 #B24791
triadic
#9E47B2 #B29E47 #47B29E
tetradic
#9E47B2 #B26947 #5BB247 #4791B2
square
#9E47B2 #B26947 #5BB247 #4791B2
split-complementary
#9E47B2 #91B247 #47B269
monochromatic
#50245B #773686 #9E47B2 #B670C6 #CC9CD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E47B2#FFFFFF#000000##FFFFFF
##9E47B21.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)
#2E66B5
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#9F5876
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e47b2;
/* rgb */ color: rgb(158, 71, 178);
/* oklch */ color: oklch(55.3% 0.178 319.8);
Tailwind
colors: {
  custom: {
    50: '#bd7fc9',
    500: '#9e47b2',
    950: '#000000',
  },
}
SCSS
$custom: #9e47b2;
$custom-light: #bd7fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47b2",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 288.785,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55344,
    "c": 0.17817,
    "h": 319.8
  },
  "luminance": 0.1499
}

Semantic roles & 50–950 ramp

primary
#9E47B2
secondary
#9AC491
accent
#D3556D
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9E47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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