#9D47CD#9D47CD

#9D47CD is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.205 H 311.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9D47CD
RGBrgb(157, 71, 205)
HSLhsl(279, 57%, 54%)
HSVhsv(279, 65%, 80%)
CMYKcmyk(23.4%, 65.4%, 0%, 19.6%)
CIE-LABlab(47.08, 57.48, -54.67)
CIE-LCHlch(47.08, 79.33, 316.44°)
OKLaboklab(56.89% 0.1344 -0.1542)
OKLCHoklch(56.89% 0.205 311.1)
XYZxyz(27.1752, 16.0830, 59.4185)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47CD #77CD47
analogous
#5A47CD #9D47CD #CD47BA
triadic
#9D47CD #CD9D47 #47CD9D
tetradic
#9D47CD #CD5A47 #77CD47 #47BACD
square
#9D47CD #CD5A47 #77CD47 #47BACD
split-complementary
#9D47CD #BACD47 #47CD5A
monochromatic
#592179 #7D2EA9 #9D47CD #B777DA #D0A7E7

Accessibility & contrast

On white

4.98
#9D47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9D47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47CD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47CD#FFFFFF#000000##FFFFFF
##9D47CD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#3871CA
Tritanopia (blue-blind)
#976284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d47cd;
/* rgb */ color: rgb(157, 71, 205);
/* oklch */ color: oklch(56.9% 0.205 311.1);
Tailwind
colors: {
  custom: {
    50: '#be80dd',
    500: '#9d47cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d47cd;
$custom-light: #be80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47cd",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 278.507,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56886,
    "c": 0.20459,
    "h": 311.1
  },
  "luminance": 0.16082
}

Semantic roles & 50–950 ramp

primary
#9D47CD
secondary
#B0D49B
accent
#E1477E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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