#9B1D88#9B1D88

#9B1D88 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.194 H 335.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9B1D88
RGBrgb(155, 29, 136)
HSLhsl(309, 68%, 36%)
HSVhsv(309, 81%, 61%)
CMYKcmyk(0%, 81.3%, 12.3%, 39.2%)
CIE-LABlab(37.16, 60.09, -29.45)
CIE-LCHlch(37.16, 66.92, 333.89°)
OKLaboklab(48.41% 0.1759 -0.0805)
OKLCHoklch(48.41% 0.194 335.4)
XYZxyz(18.4011, 9.6266, 24.1768)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D88 #1D9B30
analogous
#6F1D9B #9B1D88 #9B1D49
triadic
#9B1D88 #889B1D #1D889B
tetradic
#9B1D88 #9B6F1D #1D9B30 #1D499B
square
#9B1D88 #9B6F1D #1D9B30 #1D499B
split-complementary
#9B1D88 #499B1D #1D9B6F
monochromatic
#340A2E #67135B #9B1D88 #CF27B5 #DF53CA

Accessibility & contrast

On white

7.18
#9B1D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9B1D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1D88
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D88#FFFFFF#000000##FFFFFF
##9B1D881.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4C8B
Deuteranopia (green-blind)
#4D5E85
Tritanopia (blue-blind)
#A32952
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b1d88;
/* rgb */ color: rgb(155, 29, 136);
/* oklch */ color: oklch(48.4% 0.194 335.4);
Tailwind
colors: {
  custom: {
    50: '#bc6aab',
    500: '#9b1d88',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d88;
$custom-light: #bc6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d88",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 309.048,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48409,
    "c": 0.1935,
    "h": 335.4
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#9B1D88
secondary
#52C263
accent
#EB573C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1D88

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

Preview Lab → · Contrast checker → · Palette generator →

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