#9B1D93#9B1D93

#9B1D93 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.0% C 0.201 H 331.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9B1D93
RGBrgb(155, 29, 147)
HSLhsl(304, 68%, 36%)
HSVhsv(304, 81%, 61%)
CMYKcmyk(0%, 81.3%, 5.2%, 39.2%)
CIE-LABlab(37.76, 61.76, -35.25)
CIE-LCHlch(37.76, 71.11, 330.28°)
OKLaboklab(49.03% 0.1762 -0.0973)
OKLCHoklch(49.03% 0.201 331.1)
XYZxyz(19.2234, 9.9555, 28.5073)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D93 #1D9B25
analogous
#641D9B #9B1D93 #9B1D54
triadic
#9B1D93 #939B1D #1D939B
tetradic
#9B1D93 #9B641D #1D9B25 #1D549B
square
#9B1D93 #9B641D #1D9B25 #1D549B
split-complementary
#9B1D93 #549B1D #1D9B64
monochromatic
#340A31 #671362 #9B1D93 #CF27C4 #DF53D6

Accessibility & contrast

On white

7.02
#9B1D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9B1D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1D93
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D93#FFFFFF#000000##FFFFFF
##9B1D931.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4E96
Deuteranopia (green-blind)
#485F90
Tritanopia (blue-blind)
#A12F58
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b1d93;
/* rgb */ color: rgb(155, 29, 147);
/* oklch */ color: oklch(49.0% 0.201 331.1);
Tailwind
colors: {
  custom: {
    50: '#bc6ab3',
    500: '#9b1d93',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d93;
$custom-light: #bc6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d93",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 303.81,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.2013,
    "h": 331.1
  },
  "luminance": 0.09954
}

Semantic roles & 50–950 ramp

primary
#9B1D93
secondary
#52C259
accent
#EB483C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #9B1D93

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

Preview Lab → · Contrast checker → · Palette generator →

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