#9D47D5#9D47D5

#9D47D5 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.213 H 309.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9D47D5
RGBrgb(157, 71, 213)
HSLhsl(276, 63%, 56%)
HSVhsv(276, 67%, 84%)
CMYKcmyk(26.3%, 66.7%, 0%, 16.5%)
CIE-LABlab(47.60, 59.22, -58.44)
CIE-LCHlch(47.60, 83.20, 315.38°)
OKLaboklab(57.42% 0.1338 -0.1653)
OKLCHoklch(57.42% 0.213 309)
XYZxyz(28.1657, 16.4792, 64.6349)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47D5 #7FD547
analogous
#5647D5 #9D47D5 #D547C6
triadic
#9D47D5 #D59D47 #47D59D
tetradic
#9D47D5 #D55647 #7FD547 #47C6D5
square
#9D47D5 #D55647 #7FD547 #47C6D5
split-complementary
#9D47D5 #C6D547 #47D556
monochromatic
#5C1E84 #7E29B5 #9D47D5 #B879E0 #D2ABEC

Accessibility & contrast

On white

4.89
#9D47D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9D47D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47D5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47D5#FFFFFF#000000##FFFFFF
##9D47D51.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#2D72D2
Tritanopia (blue-blind)
#956588
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d47d5;
/* rgb */ color: rgb(157, 71, 213);
/* oklch */ color: oklch(57.4% 0.213 309.0);
Tailwind
colors: {
  custom: {
    50: '#be80e3',
    500: '#9d47d5',
    950: '#000000',
  },
}
SCSS
$custom: #9d47d5;
$custom-light: #be80e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47d5",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 276.338,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57419,
    "c": 0.21266,
    "h": 309
  },
  "luminance": 0.16479
}

Semantic roles & 50–950 ramp

primary
#9D47D5
secondary
#B6D99E
accent
#E64283
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #9D47D5

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

Preview Lab → · Contrast checker → · Palette generator →

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