#9B49BF#9B49BF

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

Color values

HEX#9B49BF
RGBrgb(155, 73, 191)
HSLhsl(282, 48%, 52%)
HSVhsv(282, 62%, 75%)
CMYKcmyk(18.8%, 61.8%, 0%, 25.1%)
CIE-LABlab(46.31, 53.09, -47.84)
CIE-LCHlch(46.31, 71.46, 317.98°)
OKLaboklab(56% 0.13 -0.1343)
OKLCHoklch(56% 0.187 314.1)
XYZxyz(25.3025, 15.4960, 50.9383)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B49BF #6DBF49
analogous
#6049BF #9B49BF #BF49A8
triadic
#9B49BF #BF9B49 #49BF9B
tetradic
#9B49BF #BF6049 #6DBF49 #49A8BF
square
#9B49BF #BF6049 #6DBF49 #49A8BF
split-complementary
#9B49BF #A8BF49 #49BF60
monochromatic
#542569 #783596 #9B49BF #B476CF #CDA4DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B49BF#FFFFFF#000000##FFFFFF
##9B49BF1.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)
#1E69C3
Deuteranopia (green-blind)
#4570BC
Tritanopia (blue-blind)
#985F7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b49bf;
/* rgb */ color: rgb(155, 73, 191);
/* oklch */ color: oklch(56.0% 0.187 314.1);
Tailwind
colors: {
  custom: {
    50: '#bc80d3',
    500: '#9b49bf',
    950: '#000000',
  },
}
SCSS
$custom: #9b49bf;
$custom-light: #bc80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b49bf",
  "rgb": {
    "r": 155,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 281.695,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55995,
    "c": 0.18692,
    "h": 314.1
  },
  "luminance": 0.15495
}

Semantic roles & 50–950 ramp

primary
#9B49BF
secondary
#A8CC98
accent
#D8507A
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9B49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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