#9E47DC#9E47DC

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

Color values

HEX#9E47DC
RGBrgb(158, 71, 220)
HSLhsl(275, 68%, 57%)
HSVhsv(275, 68%, 86%)
CMYKcmyk(28.2%, 67.7%, 0%, 13.7%)
CIE-LABlab(48.19, 60.97, -61.47)
CIE-LCHlch(48.19, 86.58, 314.77°)
OKLaboklab(58.02% 0.1344 -0.1742)
OKLCHoklch(58.02% 0.22 307.7)
XYZxyz(29.2694, 16.9433, 69.4247)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47DC #85DC47
analogous
#5447DC #9E47DC #DC47CF
triadic
#9E47DC #DC9E47 #47DC9E
tetradic
#9E47DC #DC5447 #85DC47 #47CFDC
square
#9E47DC #DC5447 #85DC47 #47CFDC
split-complementary
#9E47DC #CFDC47 #47DC54
monochromatic
#5E1B8E #8025C1 #9E47DC #B97AE6 #D4AEF0

Accessibility & contrast

On white

4.79
#9E47DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E47DC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47DC#FFFFFF#000000##FFFFFF
##9E47DC1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e47dc;
/* rgb */ color: rgb(158, 71, 220);
/* oklch */ color: oklch(58.0% 0.220 307.7);
Tailwind
colors: {
  custom: {
    50: '#bf80e8',
    500: '#9e47dc',
    950: '#000000',
  },
}
SCSS
$custom: #9e47dc;
$custom-light: #bf80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47dc",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 275.034,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58017,
    "c": 0.21999,
    "h": 307.7
  },
  "luminance": 0.16943
}

Semantic roles & 50–950 ramp

primary
#9E47DC
secondary
#BADEA1
accent
#EB3D85
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E47DC

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

Preview Lab → · Contrast checker → · Palette generator →

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