#9B1E8B#9B1E8B

#9B1E8B is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.195 H 334.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9B1E8B
RGBrgb(155, 30, 139)
HSLhsl(308, 68%, 36%)
HSVhsv(308, 81%, 61%)
CMYKcmyk(0%, 80.6%, 10.3%, 39.2%)
CIE-LABlab(37.41, 60.28, -30.90)
CIE-LCHlch(37.41, 67.74, 332.86°)
OKLaboklab(48.64% 0.1753 -0.0847)
OKLCHoklch(48.64% 0.195 334.2)
XYZxyz(18.6422, 9.7629, 25.3237)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1E8B #1E9B2E
analogous
#6D1E9B #9B1E8B #9B1E4D
triadic
#9B1E8B #8B9B1E #1E8B9B
tetradic
#9B1E8B #9B6D1E #1E9B2E #1E4D9B
square
#9B1E8B #9B6D1E #1E9B2E #1E4D9B
split-complementary
#9B1E8B #4D9B1E #1E9B6D
monochromatic
#340A2F #68145D #9B1E8B #CE28B9 #DE55CD

Accessibility & contrast

On white

7.11
#9B1E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9B1E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1E8B
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1E8B#FFFFFF#000000##FFFFFF
##9B1E8B1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4D8E
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#A32B54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b1e8b;
/* rgb */ color: rgb(155, 30, 139);
/* oklch */ color: oklch(48.6% 0.195 334.2);
Tailwind
colors: {
  custom: {
    50: '#bc6aad',
    500: '#9b1e8b',
    950: '#000000',
  },
}
SCSS
$custom: #9b1e8b;
$custom-light: #bc6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1e8b",
  "rgb": {
    "r": 155,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 307.68,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48639,
    "c": 0.19471,
    "h": 334.2
  },
  "luminance": 0.09761
}

Semantic roles & 50–950 ramp

primary
#9B1E8B
secondary
#53C261
accent
#EA543D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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