#9B2891#9B2891

#9B2891 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.189 H 331.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9B2891
RGBrgb(155, 40, 145)
HSLhsl(305, 59%, 38%)
HSVhsv(305, 74%, 61%)
CMYKcmyk(0%, 74.2%, 6.5%, 39.2%)
CIE-LABlab(38.78, 58.20, -32.42)
CIE-LCHlch(38.78, 66.62, 330.88°)
OKLaboklab(49.72% 0.1668 -0.0892)
OKLCHoklch(49.72% 0.189 331.9)
XYZxyz(19.3872, 10.5321, 27.7944)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2891 #289B32
analogous
#6B289B #9B2891 #9B2858
triadic
#9B2891 #919B28 #28919B
tetradic
#9B2891 #9B6B28 #289B32 #28589B
square
#9B2891 #9B6B28 #289B32 #28589B
split-complementary
#9B2891 #589B28 #289B6B
monochromatic
#3A0F36 #6A1B63 #9B2891 #CB35BE #D766CE

Accessibility & contrast

On white

6.76
#9B2891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9B2891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2891
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2891#FFFFFF#000000##FFFFFF
##9B28911.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205194
Deuteranopia (green-blind)
#4D618E
Tritanopia (blue-blind)
#A2355A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2891;
/* rgb */ color: rgb(155, 40, 145);
/* oklch */ color: oklch(49.7% 0.189 331.9);
Tailwind
colors: {
  custom: {
    50: '#bc6eb1',
    500: '#9b2891',
    950: '#000000',
  },
}
SCSS
$custom: #9b2891;
$custom-light: #bc6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2891",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 305.217,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49723,
    "c": 0.18913,
    "h": 331.9
  },
  "luminance": 0.1053
}

Semantic roles & 50–950 ramp

primary
#9B2891
secondary
#61BD69
accent
#E25346
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2891

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

Preview Lab → · Contrast checker → · Palette generator →

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