#9E47E0#9E47E0

#9E47E0 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.224 H 306.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9E47E0
RGBrgb(158, 71, 224)
HSLhsl(274, 71%, 58%)
HSVhsv(274, 68%, 88%)
CMYKcmyk(29.5%, 68.3%, 0%, 12.2%)
CIE-LABlab(48.46, 61.86, -63.31)
CIE-LCHlch(48.46, 88.51, 314.34°)
OKLaboklab(58.3% 0.1339 -0.1796)
OKLCHoklch(58.3% 0.224 306.7)
XYZxyz(29.8055, 17.1577, 72.2482)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47E0 #89E047
analogous
#5247E0 #9E47E0 #E047D5
triadic
#9E47E0 #E09E47 #47E09E
tetradic
#9E47E0 #E05247 #89E047 #47D5E0
square
#9E47E0 #E05247 #89E047 #47D5E0
split-complementary
#9E47E0 #D5E047 #47E052
monochromatic
#5F1994 #8022C8 #9E47E0 #BA7BE9 #D5B0F2

Accessibility & contrast

On white

4.74
#9E47E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9E47E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E47E0
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47E0#FFFFFF#000000##FFFFFF
##9E47E01.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#1974DD
Tritanopia (blue-blind)
#93698E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e47e0;
/* rgb */ color: rgb(158, 71, 224);
/* oklch */ color: oklch(58.3% 0.224 306.7);
Tailwind
colors: {
  custom: {
    50: '#c081eb',
    500: '#9e47e0',
    950: '#000000',
  },
}
SCSS
$custom: #9e47e0;
$custom-light: #c081eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47e0",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 224
  },
  "hsl": {
    "h": 274.118,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58296,
    "c": 0.22401,
    "h": 306.7
  },
  "luminance": 0.17157
}

Semantic roles & 50–950 ramp

primary
#9E47E0
secondary
#BDE0A3
accent
#EE3A88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E47E0

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

Preview Lab → · Contrast checker → · Palette generator →

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