#9D47E0#9D47E0

#9D47E0 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.224 H 306.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9D47E0
RGBrgb(157, 71, 224)
HSLhsl(274, 71%, 58%)
HSVhsv(274, 68%, 88%)
CMYKcmyk(29.9%, 68.3%, 0%, 12.2%)
CIE-LABlab(48.33, 61.66, -63.52)
CIE-LCHlch(48.33, 88.52, 314.15°)
OKLaboklab(58.18% 0.1326 -0.1802)
OKLCHoklch(58.18% 0.224 306.4)
XYZxyz(29.6095, 17.0567, 72.2390)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47E0 #8AE047
analogous
#5047E0 #9D47E0 #E047D7
triadic
#9D47E0 #E09D47 #47E09D
tetradic
#9D47E0 #E05047 #8AE047 #47D7E0
square
#9D47E0 #E05047 #8AE047 #47D7E0
split-complementary
#9D47E0 #D7E047 #47E050
monochromatic
#5E1994 #7F22C8 #9D47E0 #B97BE9 #D5B0F2

Accessibility & contrast

On white

4.76
#9D47E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9D47E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47E0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47E0#FFFFFF#000000##FFFFFF
##9D47E01.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#1673DD
Tritanopia (blue-blind)
#91698E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d47e0;
/* rgb */ color: rgb(157, 71, 224);
/* oklch */ color: oklch(58.2% 0.224 306.4);
Tailwind
colors: {
  custom: {
    50: '#bf80eb',
    500: '#9d47e0',
    950: '#000000',
  },
}
SCSS
$custom: #9d47e0;
$custom-light: #bf80eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47e0",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 224
  },
  "hsl": {
    "h": 273.725,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58178,
    "c": 0.22376,
    "h": 306.4
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#9D47E0
secondary
#BEE0A3
accent
#EE3A89
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D47E0

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

Preview Lab → · Contrast checker → · Palette generator →

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