#9B1A87#9B1A87

#9B1A87 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.195 H 335.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9B1A87
RGBrgb(155, 26, 135)
HSLhsl(309, 71%, 35%)
HSVhsv(309, 83%, 61%)
CMYKcmyk(0%, 83.2%, 12.9%, 39.2%)
CIE-LABlab(36.85, 60.70, -29.32)
CIE-LCHlch(36.85, 67.41, 334.22°)
OKLaboklab(48.17% 0.1781 -0.0802)
OKLCHoklch(48.17% 0.195 335.8)
XYZxyz(18.2604, 9.4584, 23.7809)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1A87 #1A9B2E
analogous
#6E1A9B #9B1A87 #9B1A47
triadic
#9B1A87 #879B1A #1A879B
tetradic
#9B1A87 #9B6E1A #1A9B2E #1A479B
square
#9B1A87 #9B6E1A #1A9B2E #1A479B
split-complementary
#9B1A87 #479B1A #1A9B6E
monochromatic
#32082C #671159 #9B1A87 #CF23B5 #E14ECA

Accessibility & contrast

On white

7.26
#9B1A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9B1A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1A87
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1A87#FFFFFF#000000##FFFFFF
##9B1A871.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B8A
Deuteranopia (green-blind)
#4D5D84
Tritanopia (blue-blind)
#A32651
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b1a87;
/* rgb */ color: rgb(155, 26, 135);
/* oklch */ color: oklch(48.2% 0.195 335.8);
Tailwind
colors: {
  custom: {
    50: '#bc69aa',
    500: '#9b1a87',
    950: '#000000',
  },
}
SCSS
$custom: #9b1a87;
$custom-light: #bc69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1a87",
  "rgb": {
    "r": 155,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 309.302,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.19533,
    "h": 335.8
  },
  "luminance": 0.09457
}

Semantic roles & 50–950 ramp

primary
#9B1A87
secondary
#4DC460
accent
#EE563A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9B1A87

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

Preview Lab → · Contrast checker → · Palette generator →

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