#9D47DE#9D47DE

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

Color values

HEX#9D47DE
RGBrgb(157, 71, 222)
HSLhsl(274, 70%, 57%)
HSVhsv(274, 68%, 87%)
CMYKcmyk(29.3%, 68%, 0%, 12.9%)
CIE-LABlab(48.20, 61.21, -62.60)
CIE-LCHlch(48.20, 87.56, 314.36°)
OKLaboklab(58.04% 0.1329 -0.1775)
OKLCHoklch(58.04% 0.222 306.8)
XYZxyz(29.3399, 16.9488, 70.8189)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47DE #88DE47
analogous
#5147DE #9D47DE #DE47D4
triadic
#9D47DE #DE9D47 #47DE9D
tetradic
#9D47DE #DE5147 #88DE47 #47D4DE
square
#9D47DE #DE5147 #88DE47 #47D4DE
split-complementary
#9D47DE #D4DE47 #47DE51
monochromatic
#5E1A91 #7F23C5 #9D47DE #B97BE7 #D4AFF1

Accessibility & contrast

On white

4.78
#9D47DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9D47DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47DE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47DE#FFFFFF#000000##FFFFFF
##9D47DE1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#1C73DB
Tritanopia (blue-blind)
#92698D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d47de;
/* rgb */ color: rgb(157, 71, 222);
/* oklch */ color: oklch(58.0% 0.222 306.8);
Tailwind
colors: {
  custom: {
    50: '#bf80e9',
    500: '#9d47de',
    950: '#000000',
  },
}
SCSS
$custom: #9d47de;
$custom-light: #bf80e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47de",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 222
  },
  "hsl": {
    "h": 274.172,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58038,
    "c": 0.22174,
    "h": 306.8
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#9D47DE
secondary
#BCDFA2
accent
#EC3B88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D47DE

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

Preview Lab → · Contrast checker → · Palette generator →

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