#9B2E87#9B2E87

#9B2E87 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.175 H 336.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9B2E87
RGBrgb(155, 46, 135)
HSLhsl(311, 54%, 39%)
HSVhsv(311, 70%, 61%)
CMYKcmyk(0%, 70.3%, 12.9%, 39.2%)
CIE-LABlab(39.02, 54.50, -25.91)
CIE-LCHlch(39.02, 60.35, 334.57°)
OKLaboklab(49.73% 0.1597 -0.0705)
OKLCHoklch(49.73% 0.175 336.2)
XYZxyz(18.8680, 10.6735, 23.9834)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E87 #2E9B42
analogous
#792E9B #9B2E87 #9B2E51
triadic
#9B2E87 #879B2E #2E879B
tetradic
#9B2E87 #9B792E #2E9B42 #2E519B
square
#9B2E87 #9B792E #2E9B42 #2E519B
split-complementary
#9B2E87 #519B2E #2E9B79
monochromatic
#3D1235 #6C205E #9B2E87 #C640AE #D46FC2

Accessibility & contrast

On white

6.70
#9B2E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9B2E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E87
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E87#FFFFFF#000000##FFFFFF
##9B2E871.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30518A
Deuteranopia (green-blind)
#546284
Tritanopia (blue-blind)
#A33556
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2e87;
/* rgb */ color: rgb(155, 46, 135);
/* oklch */ color: oklch(49.7% 0.175 336.2);
Tailwind
colors: {
  custom: {
    50: '#bc70aa',
    500: '#9b2e87',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e87;
$custom-light: #bc70aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e87",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 311.009,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49734,
    "c": 0.17456,
    "h": 336.2
  },
  "luminance": 0.10672
}

Semantic roles & 50–950 ramp

primary
#9B2E87
secondary
#69BC78
accent
#DE654A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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