#9B2791#9B2791

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

Color values

HEX#9B2791
RGBrgb(155, 39, 145)
HSLhsl(305, 60%, 38%)
HSVhsv(305, 75%, 61%)
CMYKcmyk(0%, 74.8%, 6.5%, 39.2%)
CIE-LABlab(38.67, 58.53, -32.60)
CIE-LCHlch(38.67, 67.00, 330.88°)
OKLaboklab(49.64% 0.1677 -0.0897)
OKLCHoklch(49.64% 0.19 331.9)
XYZxyz(19.3540, 10.4655, 27.7833)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2791 #279B31
analogous
#6B279B #9B2791 #9B2757
triadic
#9B2791 #919B27 #27919B
tetradic
#9B2791 #9B6B27 #279B31 #27579B
square
#9B2791 #9B6B27 #279B31 #27579B
split-complementary
#9B2791 #579B27 #279B6B
monochromatic
#390E36 #6A1B63 #9B2791 #CC33BF #D864CE

Accessibility & contrast

On white

6.79
#9B2791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9B2791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2791
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2791#FFFFFF#000000##FFFFFF
##9B27911.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2791;
/* rgb */ color: rgb(155, 39, 145);
/* oklch */ color: oklch(49.6% 0.190 331.9);
Tailwind
colors: {
  custom: {
    50: '#bc6eb1',
    500: '#9b2791',
    950: '#000000',
  },
}
SCSS
$custom: #9b2791;
$custom-light: #bc6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2791",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 305.172,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4964,
    "c": 0.19022,
    "h": 331.9
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

primary
#9B2791
secondary
#60BE68
accent
#E35245
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2791

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

Preview Lab → · Contrast checker → · Palette generator →

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