#9B1E8A#9B1E8A

#9B1E8A is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.194 H 334.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9B1E8A
RGBrgb(155, 30, 138)
HSLhsl(308, 68%, 36%)
HSVhsv(308, 81%, 61%)
CMYKcmyk(0%, 80.6%, 11%, 39.2%)
CIE-LABlab(37.36, 60.13, -30.37)
CIE-LCHlch(37.36, 67.36, 333.20°)
OKLaboklab(48.58% 0.1753 -0.0832)
OKLCHoklch(48.58% 0.194 334.6)
XYZxyz(18.5695, 9.7338, 24.9406)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1E8A #1E9B2F
analogous
#6E1E9B #9B1E8A #9B1E4C
triadic
#9B1E8A #8A9B1E #1E8A9B
tetradic
#9B1E8A #9B6E1E #1E9B2F #1E4C9B
square
#9B1E8A #9B6E1E #1E9B2F #1E4C9B
split-complementary
#9B1E8A #4C9B1E #1E9B6E
monochromatic
#340A2F #68145C #9B1E8A #CE28B8 #DE55CC

Accessibility & contrast

On white

7.13
#9B1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1E8A
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1E8A#FFFFFF#000000##FFFFFF
##9B1E8A1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b1e8a;
/* rgb */ color: rgb(155, 30, 138);
/* oklch */ color: oklch(48.6% 0.194 334.6);
Tailwind
colors: {
  custom: {
    50: '#bc6aac',
    500: '#9b1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #9b1e8a;
$custom-light: #bc6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1e8a",
  "rgb": {
    "r": 155,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 308.16,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48584,
    "c": 0.19401,
    "h": 334.6
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#9B1E8A
secondary
#53C262
accent
#EA553D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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