#9E47CA#9E47CA

#9E47CA is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.202 H 312.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9E47CA
RGBrgb(158, 71, 202)
HSLhsl(280, 55%, 54%)
HSVhsv(280, 65%, 79%)
CMYKcmyk(21.8%, 64.9%, 0%, 20.8%)
CIE-LABlab(47.03, 57.06, -53.03)
CIE-LCHlch(47.03, 77.90, 317.10°)
OKLaboklab(56.81% 0.1359 -0.1494)
OKLCHoklch(56.81% 0.202 312.3)
XYZxyz(27.0125, 16.0406, 57.5388)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47CA #73CA47
analogous
#5C47CA #9E47CA #CA47B4
triadic
#9E47CA #CA9E47 #47CA9E
tetradic
#9E47CA #CA5C47 #73CA47 #47B4CA
square
#9E47CA #CA5C47 #73CA47 #47B4CA
split-complementary
#9E47CA #B4CA47 #47CA5C
monochromatic
#592275 #7D2FA4 #9E47CA #B777D8 #D0A6E5

Accessibility & contrast

On white

4.99
#9E47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9E47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E47CA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47CA#FFFFFF#000000##FFFFFF
##9E47CA1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#3C71C7
Tritanopia (blue-blind)
#996182
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e47ca;
/* rgb */ color: rgb(158, 71, 202);
/* oklch */ color: oklch(56.8% 0.202 312.3);
Tailwind
colors: {
  custom: {
    50: '#be80db',
    500: '#9e47ca',
    950: '#000000',
  },
}
SCSS
$custom: #9e47ca;
$custom-light: #be80db;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47ca",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 279.847,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56814,
    "c": 0.20193,
    "h": 312.3
  },
  "luminance": 0.1604
}

Semantic roles & 50–950 ramp

primary
#9E47CA
secondary
#ADD29A
accent
#DF497B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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