#9E47DB#9E47DB

#9E47DB is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.9% C 0.219 H 307.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9E47DB
RGBrgb(158, 71, 219)
HSLhsl(275, 67%, 57%)
HSVhsv(275, 68%, 86%)
CMYKcmyk(27.9%, 67.6%, 0%, 14.1%)
CIE-LABlab(48.12, 60.75, -61.01)
CIE-LCHlch(48.12, 86.10, 314.88°)
OKLaboklab(57.95% 0.1345 -0.1728)
OKLCHoklch(57.95% 0.219 307.9)
XYZxyz(29.1373, 16.8905, 68.7293)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47DB #84DB47
analogous
#5447DB #9E47DB #DB47CE
triadic
#9E47DB #DB9E47 #47DB9E
tetradic
#9E47DB #DB5447 #84DB47 #47CEDB
square
#9E47DB #DB5447 #84DB47 #47CEDB
split-complementary
#9E47DB #CEDB47 #47DB54
monochromatic
#5E1B8C #8025BF #9E47DB #B97AE5 #D4ADEF

Accessibility & contrast

On white

4.80
#9E47DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9E47DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E47DB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47DB#FFFFFF#000000##FFFFFF
##9E47DB1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#2573D8
Tritanopia (blue-blind)
#94678C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9e47db;
/* rgb */ color: rgb(158, 71, 219);
/* oklch */ color: oklch(57.9% 0.219 307.9);
Tailwind
colors: {
  custom: {
    50: '#bf80e7',
    500: '#9e47db',
    950: '#000000',
  },
}
SCSS
$custom: #9e47db;
$custom-light: #bf80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47db",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 275.27,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57948,
    "c": 0.21898,
    "h": 307.9
  },
  "luminance": 0.1689
}

Semantic roles & 50–950 ramp

primary
#9E47DB
secondary
#BADDA1
accent
#EA3E85
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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