#9F48BB#9F48BB

#9F48BB is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.1% C 0.186 H 317.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9F48BB
RGBrgb(159, 72, 187)
HSLhsl(285, 46%, 51%)
HSVhsv(285, 61%, 73%)
CMYKcmyk(15%, 61.5%, 0%, 26.7%)
CIE-LABlab(46.44, 53.70, -45.26)
CIE-LCHlch(46.44, 70.24, 319.87°)
OKLaboklab(56.13% 0.1362 -0.1266)
OKLCHoklch(56.13% 0.186 317.1)
XYZxyz(25.5838, 15.5945, 48.6665)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48BB #64BB48
analogous
#6548BB #9F48BB #BB489E
triadic
#9F48BB #BB9F48 #48BB9F
tetradic
#9F48BB #BB6548 #64BB48 #489EBB
square
#9F48BB #BB6548 #64BB48 #489EBB
split-complementary
#9F48BB #9EBB48 #48BB65
monochromatic
#542564 #7A3690 #9F48BB #B675CC #CEA1DC

Accessibility & contrast

On white

5.10
#9F48BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9F48BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F48BB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F48BB#FFFFFF#000000##FFFFFF
##9F48BB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BF
Deuteranopia (green-blind)
#4B71B8
Tritanopia (blue-blind)
#9E5C7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f48bb;
/* rgb */ color: rgb(159, 72, 187);
/* oklch */ color: oklch(56.1% 0.186 317.1);
Tailwind
colors: {
  custom: {
    50: '#be80d0',
    500: '#9f48bb',
    950: '#000000',
  },
}
SCSS
$custom: #9f48bb;
$custom-light: #be80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48bb",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 285.391,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56129,
    "c": 0.18599,
    "h": 317.1
  },
  "luminance": 0.15594
}

Semantic roles & 50–950 ramp

primary
#9F48BB
secondary
#A2C996
accent
#D55272
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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