#9D47DD#9D47DD

#9D47DD is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.0% C 0.221 H 307.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9D47DD
RGBrgb(157, 71, 221)
HSLhsl(274, 69%, 57%)
HSVhsv(274, 68%, 87%)
CMYKcmyk(29%, 67.9%, 0%, 13.3%)
CIE-LABlab(48.13, 60.99, -62.14)
CIE-LCHlch(48.13, 87.07, 314.46°)
OKLaboklab(57.97% 0.133 -0.1762)
OKLCHoklch(57.97% 0.221 307)
XYZxyz(29.2062, 16.8954, 70.1151)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47DD #87DD47
analogous
#5247DD #9D47DD #DD47D2
triadic
#9D47DD #DD9D47 #47DD9D
tetradic
#9D47DD #DD5247 #87DD47 #47D2DD
square
#9D47DD #DD5247 #87DD47 #47D2DD
split-complementary
#9D47DD #D2DD47 #47DD52
monochromatic
#5D1A8F #7F24C3 #9D47DD #B97BE7 #D4AEF0

Accessibility & contrast

On white

4.80
#9D47DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9D47DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47DD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47DD#FFFFFF#000000##FFFFFF
##9D47DD1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#1E73DA
Tritanopia (blue-blind)
#92688D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d47dd;
/* rgb */ color: rgb(157, 71, 221);
/* oklch */ color: oklch(58.0% 0.221 307.0);
Tailwind
colors: {
  custom: {
    50: '#bf80e8',
    500: '#9d47dd',
    950: '#000000',
  },
}
SCSS
$custom: #9d47dd;
$custom-light: #bf80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47dd",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 274.4,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57968,
    "c": 0.22073,
    "h": 307
  },
  "luminance": 0.16895
}

Semantic roles & 50–950 ramp

primary
#9D47DD
secondary
#BBDEA2
accent
#EC3C87
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D47DD

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

Preview Lab → · Contrast checker → · Palette generator →

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