#9D47DC#9D47DC

#9D47DC is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.9% C 0.220 H 307.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9D47DC
RGBrgb(157, 71, 220)
HSLhsl(275, 68%, 57%)
HSVhsv(275, 68%, 86%)
CMYKcmyk(28.6%, 67.7%, 0%, 13.7%)
CIE-LABlab(48.06, 60.77, -61.68)
CIE-LCHlch(48.06, 86.59, 314.57°)
OKLaboklab(57.9% 0.1331 -0.1748)
OKLCHoklch(57.9% 0.22 307.3)
XYZxyz(29.0734, 16.8422, 69.4155)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47DC #86DC47
analogous
#5347DC #9D47DC #DC47D1
triadic
#9D47DC #DC9D47 #47DC9D
tetradic
#9D47DC #DC5347 #86DC47 #47D1DC
square
#9D47DC #DC5347 #86DC47 #47D1DC
split-complementary
#9D47DC #D1DC47 #47DC53
monochromatic
#5D1B8E #7F25C1 #9D47DC #B87AE6 #D4AEF0

Accessibility & contrast

On white

4.81
#9D47DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9D47DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47DC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47DC#FFFFFF#000000##FFFFFF
##9D47DC1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#2173D9
Tritanopia (blue-blind)
#93688C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d47dc;
/* rgb */ color: rgb(157, 71, 220);
/* oklch */ color: oklch(57.9% 0.220 307.3);
Tailwind
colors: {
  custom: {
    50: '#bf80e8',
    500: '#9d47dc',
    950: '#000000',
  },
}
SCSS
$custom: #9d47dc;
$custom-light: #bf80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47dc",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 274.631,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57899,
    "c": 0.21973,
    "h": 307.3
  },
  "luminance": 0.16842
}

Semantic roles & 50–950 ramp

primary
#9D47DC
secondary
#BBDEA1
accent
#EB3D86
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D47DC

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

Preview Lab → · Contrast checker → · Palette generator →

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