#9B1E8D#9B1E8D

#9B1E8D is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.8% C 0.196 H 333.4°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9B1E8D
RGBrgb(155, 30, 141)
HSLhsl(307, 68%, 36%)
HSVhsv(307, 81%, 61%)
CMYKcmyk(0%, 80.6%, 9%, 39.2%)
CIE-LABlab(37.52, 60.58, -31.96)
CIE-LCHlch(37.52, 68.49, 332.18°)
OKLaboklab(48.75% 0.1754 -0.0878)
OKLCHoklch(48.75% 0.196 333.4)
XYZxyz(18.7897, 9.8219, 26.1004)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1E8D #1E9B2C
analogous
#6B1E9B #9B1E8D #9B1E4F
triadic
#9B1E8D #8D9B1E #1E8D9B
tetradic
#9B1E8D #9B6B1E #1E9B2C #1E4F9B
square
#9B1E8D #9B6B1E #1E9B2C #1E4F9B
split-complementary
#9B1E8D #4F9B1E #1E9B6B
monochromatic
#340A30 #68145E #9B1E8D #CE28BC #DE55CF

Accessibility & contrast

On white

7.09
#9B1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9B1E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1E8D
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1E8D#FFFFFF#000000##FFFFFF
##9B1E8D1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D90
Deuteranopia (green-blind)
#4B5E8A
Tritanopia (blue-blind)
#A22C55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b1e8d;
/* rgb */ color: rgb(155, 30, 141);
/* oklch */ color: oklch(48.8% 0.196 333.4);
Tailwind
colors: {
  custom: {
    50: '#bc6aaf',
    500: '#9b1e8d',
    950: '#000000',
  },
}
SCSS
$custom: #9b1e8d;
$custom-light: #bc6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1e8d",
  "rgb": {
    "r": 155,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 306.72,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48751,
    "c": 0.19613,
    "h": 333.4
  },
  "luminance": 0.0982
}

Semantic roles & 50–950 ramp

primary
#9B1E8D
secondary
#53C260
accent
#EA513D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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