#9E47D2#9E47D2

#9E47D2 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.210 H 310.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9E47D2
RGBrgb(158, 71, 210)
HSLhsl(278, 61%, 55%)
HSVhsv(278, 66%, 82%)
CMYKcmyk(24.8%, 66.2%, 0%, 17.6%)
CIE-LABlab(47.53, 58.78, -56.81)
CIE-LCHlch(47.53, 81.75, 315.98°)
OKLaboklab(57.34% 0.1354 -0.1605)
OKLCHoklch(57.34% 0.21 310.1)
XYZxyz(27.9844, 16.4293, 62.6573)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47D2 #7BD247
analogous
#5847D2 #9E47D2 #D247C1
triadic
#9E47D2 #D29E47 #47D29E
tetradic
#9E47D2 #D25847 #7BD247 #47C1D2
square
#9E47D2 #D25847 #7BD247 #47C1D2
split-complementary
#9E47D2 #C1D247 #47D258
monochromatic
#5B1F7F #7F2BB1 #9E47D2 #B878DE #D2A9EA

Accessibility & contrast

On white

4.90
#9E47D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9E47D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E47D2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47D2#FFFFFF#000000##FFFFFF
##9E47D21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#3372CF
Tritanopia (blue-blind)
#976487
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9e47d2;
/* rgb */ color: rgb(158, 71, 210);
/* oklch */ color: oklch(57.3% 0.210 310.1);
Tailwind
colors: {
  custom: {
    50: '#bf80e0',
    500: '#9e47d2',
    950: '#000000',
  },
}
SCSS
$custom: #9e47d2;
$custom-light: #bf80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47d2",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 277.554,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57339,
    "c": 0.20994,
    "h": 310.1
  },
  "luminance": 0.16429
}

Semantic roles & 50–950 ramp

primary
#9E47D2
secondary
#B3D89D
accent
#E44480
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E47D2

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

Preview Lab → · Contrast checker → · Palette generator →

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