#9F49BB#9F49BB

#9F49BB is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.3% C 0.185 H 317.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9F49BB
RGBrgb(159, 73, 187)
HSLhsl(285, 46%, 51%)
HSVhsv(285, 61%, 73%)
CMYKcmyk(15%, 61%, 0%, 26.7%)
CIE-LABlab(46.61, 53.23, -44.99)
CIE-LCHlch(46.61, 69.70, 319.80°)
OKLaboklab(56.26% 0.135 -0.1258)
OKLCHoklch(56.26% 0.185 317)
XYZxyz(25.6489, 15.7248, 48.6882)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F49BB #65BB49
analogous
#6649BB #9F49BB #BB499E
triadic
#9F49BB #BB9F49 #49BB9F
tetradic
#9F49BB #BB6649 #65BB49 #499EBB
square
#9F49BB #BB6649 #65BB49 #499EBB
split-complementary
#9F49BB #9EBB49 #49BB66
monochromatic
#552564 #7A3691 #9F49BB #B676CC #CEA2DC

Accessibility & contrast

On white

5.07
#9F49BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9F49BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F49BB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F49BB#FFFFFF#000000##FFFFFF
##9F49BB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f49bb;
/* rgb */ color: rgb(159, 73, 187);
/* oklch */ color: oklch(56.3% 0.185 317.0);
Tailwind
colors: {
  custom: {
    50: '#be81d0',
    500: '#9f49bb',
    950: '#000000',
  },
}
SCSS
$custom: #9f49bb;
$custom-light: #be81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f49bb",
  "rgb": {
    "r": 159,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 285.263,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56255,
    "c": 0.18453,
    "h": 317
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#9F49BB
secondary
#A3C997
accent
#D55373
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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