#9B1E87#9B1E87

#9B1E87 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.192 H 335.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9B1E87
RGBrgb(155, 30, 135)
HSLhsl(310, 68%, 36%)
HSVhsv(310, 81%, 61%)
CMYKcmyk(0%, 80.6%, 12.9%, 39.2%)
CIE-LABlab(37.20, 59.68, -28.77)
CIE-LCHlch(37.20, 66.26, 334.27°)
OKLaboklab(48.42% 0.1751 -0.0786)
OKLCHoklch(48.42% 0.192 335.8)
XYZxyz(18.3553, 9.6481, 23.8125)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1E87 #1E9B32
analogous
#711E9B #9B1E87 #9B1E49
triadic
#9B1E87 #879B1E #1E879B
tetradic
#9B1E87 #9B711E #1E9B32 #1E499B
square
#9B1E87 #9B711E #1E9B32 #1E499B
split-complementary
#9B1E87 #499B1E #1E9B71
monochromatic
#340A2E #68145A #9B1E87 #CE28B4 #DE55C8

Accessibility & contrast

On white

7.17
#9B1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9B1E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1E87
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1E87#FFFFFF#000000##FFFFFF
##9B1E871.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8A
Deuteranopia (green-blind)
#4E5E84
Tritanopia (blue-blind)
#A32952
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b1e87;
/* rgb */ color: rgb(155, 30, 135);
/* oklch */ color: oklch(48.4% 0.192 335.8);
Tailwind
colors: {
  custom: {
    50: '#bc6aaa',
    500: '#9b1e87',
    950: '#000000',
  },
}
SCSS
$custom: #9b1e87;
$custom-light: #bc6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1e87",
  "rgb": {
    "r": 155,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 309.6,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.19193,
    "h": 335.8
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#9B1E87
secondary
#53C265
accent
#EA593D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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