#9E48BB#9E48BB

#9E48BB is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.0% C 0.186 H 316.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9E48BB
RGBrgb(158, 72, 187)
HSLhsl(285, 46%, 51%)
HSVhsv(285, 61%, 73%)
CMYKcmyk(15.5%, 61.5%, 0%, 26.7%)
CIE-LABlab(46.30, 53.46, -45.49)
CIE-LCHlch(46.30, 70.19, 319.60°)
OKLaboklab(56% 0.135 -0.1273)
OKLCHoklch(56% 0.186 316.7)
XYZxyz(25.3862, 15.4926, 48.6572)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E48BB #65BB48
analogous
#6448BB #9E48BB #BB489E
triadic
#9E48BB #BB9E48 #48BB9E
tetradic
#9E48BB #BB6448 #65BB48 #489EBB
square
#9E48BB #BB6448 #65BB48 #489EBB
split-complementary
#9E48BB #9EBB48 #48BB64
monochromatic
#542564 #793690 #9E48BB #B675CC #CDA1DC

Accessibility & contrast

On white

5.12
#9E48BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9E48BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E48BB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E48BB#FFFFFF#000000##FFFFFF
##9E48BB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BF
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#9D5C7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e48bb;
/* rgb */ color: rgb(158, 72, 187);
/* oklch */ color: oklch(56.0% 0.186 316.7);
Tailwind
colors: {
  custom: {
    50: '#be80d0',
    500: '#9e48bb',
    950: '#000000',
  },
}
SCSS
$custom: #9e48bb;
$custom-light: #be80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e48bb",
  "rgb": {
    "r": 158,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 284.87,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56001,
    "c": 0.18555,
    "h": 316.7
  },
  "luminance": 0.15492
}

Semantic roles & 50–950 ramp

primary
#9E48BB
secondary
#A3C996
accent
#D55273
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9E48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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