#9B1E82#9B1E82

#9B1E82 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.189 H 337.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9B1E82
RGBrgb(155, 30, 130)
HSLhsl(312, 68%, 36%)
HSVhsv(312, 81%, 61%)
CMYKcmyk(0%, 80.6%, 16.1%, 39.2%)
CIE-LABlab(36.95, 58.96, -26.07)
CIE-LCHlch(36.95, 64.47, 336.15°)
OKLaboklab(48.16% 0.1747 -0.0709)
OKLCHoklch(48.16% 0.189 337.9)
XYZxyz(18.0115, 9.5106, 22.0019)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1E82 #1E9B37
analogous
#761E9B #9B1E82 #9B1E44
triadic
#9B1E82 #829B1E #1E829B
tetradic
#9B1E82 #9B761E #1E9B37 #1E449B
square
#9B1E82 #9B761E #1E9B37 #1E449B
split-complementary
#9B1E82 #449B1E #1E9B76
monochromatic
#340A2C #681457 #9B1E82 #CE28AD #DE55C3

Accessibility & contrast

On white

7.24
#9B1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9B1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1E82
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1E82#FFFFFF#000000##FFFFFF
##9B1E821.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B85
Deuteranopia (green-blind)
#505E7F
Tritanopia (blue-blind)
#A4264F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b1e82;
/* rgb */ color: rgb(155, 30, 130);
/* oklch */ color: oklch(48.2% 0.189 337.9);
Tailwind
colors: {
  custom: {
    50: '#bc6aa6',
    500: '#9b1e82',
    950: '#000000',
  },
}
SCSS
$custom: #9b1e82;
$custom-light: #bc6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1e82",
  "rgb": {
    "r": 155,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 312,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48156,
    "c": 0.18853,
    "h": 337.9
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

primary
#9B1E82
secondary
#53C269
accent
#EA603D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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