#9F48BC#9F48BC

#9F48BC is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.2% C 0.187 H 316.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9F48BC
RGBrgb(159, 72, 188)
HSLhsl(285, 46%, 51%)
HSVhsv(285, 62%, 74%)
CMYKcmyk(15.4%, 61.7%, 0%, 26.3%)
CIE-LABlab(46.50, 53.91, -45.76)
CIE-LCHlch(46.50, 70.71, 319.68°)
OKLaboklab(56.19% 0.1362 -0.1281)
OKLCHoklch(56.19% 0.187 316.8)
XYZxyz(25.6912, 15.6375, 49.2322)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48BC #65BC48
analogous
#6548BC #9F48BC #BC489F
triadic
#9F48BC #BC9F48 #48BC9F
tetradic
#9F48BC #BC6548 #65BC48 #489FBC
square
#9F48BC #BC6548 #65BC48 #489FBC
split-complementary
#9F48BC #9FBC48 #48BC65
monochromatic
#552565 #7A3592 #9F48BC #B775CC #CEA2DD

Accessibility & contrast

On white

5.09
#9F48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9F48BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F48BC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F48BC#FFFFFF#000000##FFFFFF
##9F48BC1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2469C0
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#9E5C7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f48bc;
/* rgb */ color: rgb(159, 72, 188);
/* oklch */ color: oklch(56.2% 0.187 316.8);
Tailwind
colors: {
  custom: {
    50: '#be80d1',
    500: '#9f48bc',
    950: '#000000',
  },
}
SCSS
$custom: #9f48bc;
$custom-light: #be80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48bc",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 285,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56189,
    "c": 0.18697,
    "h": 316.8
  },
  "luminance": 0.15636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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