#9E48C7#9E48C7

#9E48C7 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.198 H 313.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9E48C7
RGBrgb(158, 72, 199)
HSLhsl(281, 53%, 53%)
HSVhsv(281, 64%, 78%)
CMYKcmyk(20.6%, 63.8%, 0%, 22%)
CIE-LABlab(47.01, 55.96, -51.32)
CIE-LCHlch(47.01, 75.93, 317.48°)
OKLaboklab(56.74% 0.1348 -0.1444)
OKLCHoklch(56.74% 0.198 313)
XYZxyz(26.7249, 16.0281, 55.7077)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E48C7 #71C748
analogous
#5E48C7 #9E48C7 #C748B0
triadic
#9E48C7 #C79E48 #48C79E
tetradic
#9E48C7 #C75E48 #71C748 #48B0C7
square
#9E48C7 #C75E48 #71C748 #48B0C7
split-complementary
#9E48C7 #B0C748 #48C75E
monochromatic
#582372 #7D31A1 #9E48C7 #B777D5 #D0A6E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E48C7#FFFFFF#000000##FFFFFF
##9E48C71.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)
#0B6BCB
Deuteranopia (green-blind)
#4071C4
Tritanopia (blue-blind)
#9A6081
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e48c7;
/* rgb */ color: rgb(158, 72, 199);
/* oklch */ color: oklch(56.7% 0.198 313.0);
Tailwind
colors: {
  custom: {
    50: '#be80d9',
    500: '#9e48c7',
    950: '#000000',
  },
}
SCSS
$custom: #9e48c7;
$custom-light: #be80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e48c7",
  "rgb": {
    "r": 158,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 280.63,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.19755,
    "h": 313
  },
  "luminance": 0.16027
}

Semantic roles & 50–950 ramp

primary
#9E48C7
secondary
#ACD19A
accent
#DD4B7A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #9E48C7

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

Preview Lab → · Contrast checker → · Palette generator →

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