#9D47CE#9D47CE

#9D47CE is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.206 H 310.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9D47CE
RGBrgb(157, 71, 206)
HSLhsl(278, 58%, 54%)
HSVhsv(278, 66%, 81%)
CMYKcmyk(23.8%, 65.5%, 0%, 19.2%)
CIE-LABlab(47.15, 57.70, -55.15)
CIE-LCHlch(47.15, 79.81, 316.30°)
OKLaboklab(56.95% 0.1344 -0.1556)
OKLCHoklch(56.95% 0.206 310.8)
XYZxyz(27.2963, 16.1314, 60.0563)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47CE #78CE47
analogous
#5A47CE #9D47CE #CE47BC
triadic
#9D47CE #CE9D47 #47CE9D
tetradic
#9D47CE #CE5A47 #78CE47 #47BCCE
square
#9D47CE #CE5A47 #78CE47 #47BCCE
split-complementary
#9D47CE #BCCE47 #47CE5A
monochromatic
#5A217A #7D2DAA #9D47CE #B777DB #D0A8E8

Accessibility & contrast

On white

4.97
#9D47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9D47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47CE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47CE#FFFFFF#000000##FFFFFF
##9D47CE1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#976285
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d47ce;
/* rgb */ color: rgb(157, 71, 206);
/* oklch */ color: oklch(57.0% 0.206 310.8);
Tailwind
colors: {
  custom: {
    50: '#be80de',
    500: '#9d47ce',
    950: '#000000',
  },
}
SCSS
$custom: #9d47ce;
$custom-light: #be80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47ce",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 278.222,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.2056,
    "h": 310.8
  },
  "luminance": 0.16131
}

Semantic roles & 50–950 ramp

primary
#9D47CE
secondary
#B1D59C
accent
#E1477F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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