#9E47CD#9E47CD

#9E47CD is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.205 H 311.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9E47CD
RGBrgb(158, 71, 205)
HSLhsl(279, 57%, 54%)
HSVhsv(279, 65%, 80%)
CMYKcmyk(22.9%, 65.4%, 0%, 19.6%)
CIE-LABlab(47.22, 57.70, -54.45)
CIE-LCHlch(47.22, 79.34, 316.66°)
OKLaboklab(57.01% 0.1357 -0.1536)
OKLCHoklch(57.01% 0.205 311.5)
XYZxyz(27.3712, 16.1840, 59.4277)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47CD #76CD47
analogous
#5B47CD #9E47CD #CD47B9
triadic
#9E47CD #CD9E47 #47CD9E
tetradic
#9E47CD #CD5B47 #76CD47 #47B9CD
square
#9E47CD #CD5B47 #76CD47 #47B9CD
split-complementary
#9E47CD #B9CD47 #47CD5B
monochromatic
#5A2179 #7E2EA9 #9E47CD #B777DA #D1A7E7

Accessibility & contrast

On white

4.96
#9E47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9E47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E47CD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47CD#FFFFFF#000000##FFFFFF
##9E47CD1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e47cd;
/* rgb */ color: rgb(158, 71, 205);
/* oklch */ color: oklch(57.0% 0.205 311.5);
Tailwind
colors: {
  custom: {
    50: '#be80dd',
    500: '#9e47cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e47cd;
$custom-light: #be80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47cd",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 278.955,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57009,
    "c": 0.20493,
    "h": 311.5
  },
  "luminance": 0.16183
}

Semantic roles & 50–950 ramp

primary
#9E47CD
secondary
#AFD49B
accent
#E1477D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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