#9E47DE#9E47DE

#9E47DE is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.222 H 307.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9E47DE
RGBrgb(158, 71, 222)
HSLhsl(275, 70%, 57%)
HSVhsv(275, 68%, 87%)
CMYKcmyk(28.8%, 68%, 0%, 12.9%)
CIE-LABlab(48.32, 61.41, -62.39)
CIE-LCHlch(48.32, 87.55, 314.55°)
OKLaboklab(58.16% 0.1342 -0.1769)
OKLCHoklch(58.16% 0.222 307.2)
XYZxyz(29.5358, 17.0499, 70.8281)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47DE #87DE47
analogous
#5347DE #9E47DE #DE47D2
triadic
#9E47DE #DE9E47 #47DE9E
tetradic
#9E47DE #DE5347 #87DE47 #47D2DE
square
#9E47DE #DE5347 #87DE47 #47D2DE
split-complementary
#9E47DE #D2DE47 #47DE53
monochromatic
#5E1A91 #8023C5 #9E47DE #B97BE7 #D5AFF1

Accessibility & contrast

On white

4.76
#9E47DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9E47DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E47DE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47DE#FFFFFF#000000##FFFFFF
##9E47DE1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#1E73DB
Tritanopia (blue-blind)
#93688D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e47de;
/* rgb */ color: rgb(158, 71, 222);
/* oklch */ color: oklch(58.2% 0.222 307.2);
Tailwind
colors: {
  custom: {
    50: '#bf80e9',
    500: '#9e47de',
    950: '#000000',
  },
}
SCSS
$custom: #9e47de;
$custom-light: #bf80e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47de",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 222
  },
  "hsl": {
    "h": 274.57,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58156,
    "c": 0.22201,
    "h": 307.2
  },
  "luminance": 0.1705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E47DE

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

Preview Lab → · Contrast checker → · Palette generator →

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