#9B1A9F#9B1A9F

#9B1A9F is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.212 H 326.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9B1A9F
RGBrgb(155, 26, 159)
HSLhsl(298, 72%, 36%)
HSVhsv(298, 84%, 62%)
CMYKcmyk(2.5%, 83.6%, 0%, 37.6%)
CIE-LABlab(38.22, 64.40, -41.81)
CIE-LCHlch(38.22, 76.78, 327.01°)
OKLaboklab(49.58% 0.1778 -0.1163)
OKLCHoklch(49.58% 0.212 326.8)
XYZxyz(20.1446, 10.2120, 33.7043)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1A9F #1E9F1A
analogous
#591A9F #9B1A9F #9F1A61
triadic
#9B1A9F #9F9B1A #1A9F9B
tetradic
#9B1A9F #9F591A #1E9F1A #1A619F
square
#9B1A9F #9F591A #1E9F1A #1A619F
split-complementary
#9B1A9F #619F1A #1A9F59
monochromatic
#340936 #68116A #9B1A9F #CE23D4 #DE51E3

Accessibility & contrast

On white

6.90
#9B1A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9B1A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B1A9F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1A9F#FFFFFF#000000##FFFFFF
##9B1A9F1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#3F5F9C
Tritanopia (blue-blind)
#9F355F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b1a9f;
/* rgb */ color: rgb(155, 26, 159);
/* oklch */ color: oklch(49.6% 0.212 326.8);
Tailwind
colors: {
  custom: {
    50: '#bd6abc',
    500: '#9b1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #9b1a9f;
$custom-light: #bd6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1a9f",
  "rgb": {
    "r": 155,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 298.195,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49583,
    "c": 0.21247,
    "h": 326.8
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#9B1A9F
secondary
#53C550
accent
#EF393F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9B1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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