#9E48BC#9E48BC

#9E48BC is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.1% C 0.187 H 316.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9E48BC
RGBrgb(158, 72, 188)
HSLhsl(284, 46%, 51%)
HSVhsv(284, 62%, 74%)
CMYKcmyk(16%, 61.7%, 0%, 26.3%)
CIE-LABlab(46.36, 53.66, -45.98)
CIE-LCHlch(46.36, 70.67, 319.41°)
OKLaboklab(56.06% 0.135 -0.1288)
OKLCHoklch(56.06% 0.187 316.4)
XYZxyz(25.4936, 15.5356, 49.2230)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E48BC #66BC48
analogous
#6448BC #9E48BC #BC48A0
triadic
#9E48BC #BC9E48 #48BC9E
tetradic
#9E48BC #BC6448 #66BC48 #48A0BC
square
#9E48BC #BC6448 #66BC48 #48A0BC
split-complementary
#9E48BC #A0BC48 #48BC64
monochromatic
#542565 #7A3592 #9E48BC #B675CC #CDA2DD

Accessibility & contrast

On white

5.11
#9E48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9E48BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E48BC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E48BC#FFFFFF#000000##FFFFFF
##9E48BC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2469C0
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#9C5C7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e48bc;
/* rgb */ color: rgb(158, 72, 188);
/* oklch */ color: oklch(56.1% 0.187 316.4);
Tailwind
colors: {
  custom: {
    50: '#be80d1',
    500: '#9e48bc',
    950: '#000000',
  },
}
SCSS
$custom: #9e48bc;
$custom-light: #be80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e48bc",
  "rgb": {
    "r": 158,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 284.483,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56062,
    "c": 0.18655,
    "h": 316.4
  },
  "luminance": 0.15535
}

Semantic roles & 50–950 ramp

primary
#9E48BC
secondary
#A3CA96
accent
#D65274
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9E48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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