#9D47D2#9D47D2

#9D47D2 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.2% C 0.210 H 309.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9D47D2
RGBrgb(157, 71, 210)
HSLhsl(277, 61%, 55%)
HSVhsv(277, 66%, 82%)
CMYKcmyk(25.2%, 66.2%, 0%, 17.6%)
CIE-LABlab(47.40, 58.57, -57.03)
CIE-LCHlch(47.40, 81.75, 315.76°)
OKLaboklab(57.22% 0.1341 -0.1612)
OKLCHoklch(57.22% 0.21 309.8)
XYZxyz(27.7884, 16.3283, 62.6481)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47D2 #7CD247
analogous
#5747D2 #9D47D2 #D247C2
triadic
#9D47D2 #D29D47 #47D29D
tetradic
#9D47D2 #D25747 #7CD247 #47C2D2
square
#9D47D2 #D25747 #7CD247 #47C2D2
split-complementary
#9D47D2 #C2D247 #47D257
monochromatic
#5B1F7F #7E2BB1 #9D47D2 #B778DE #D1A9EA

Accessibility & contrast

On white

4.92
#9D47D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9D47D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47D2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47D2#FFFFFF#000000##FFFFFF
##9D47D21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#3172CF
Tritanopia (blue-blind)
#966487
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d47d2;
/* rgb */ color: rgb(157, 71, 210);
/* oklch */ color: oklch(57.2% 0.210 309.8);
Tailwind
colors: {
  custom: {
    50: '#be80e0',
    500: '#9d47d2',
    950: '#000000',
  },
}
SCSS
$custom: #9d47d2;
$custom-light: #be80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47d2",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 277.122,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57217,
    "c": 0.20964,
    "h": 309.8
  },
  "luminance": 0.16328
}

Semantic roles & 50–950 ramp

primary
#9D47D2
secondary
#B3D89D
accent
#E44481
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D47D2

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

Preview Lab → · Contrast checker → · Palette generator →

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