#9B2790#9B2790

#9B2790 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.189 H 332.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9B2790
RGBrgb(155, 39, 144)
HSLhsl(306, 60%, 38%)
HSVhsv(306, 75%, 61%)
CMYKcmyk(0%, 74.8%, 7.1%, 39.2%)
CIE-LABlab(38.61, 58.37, -32.08)
CIE-LCHlch(38.61, 66.61, 331.21°)
OKLaboklab(49.58% 0.1677 -0.0882)
OKLCHoklch(49.58% 0.189 332.3)
XYZxyz(19.2772, 10.4348, 27.3790)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2790 #279B32
analogous
#6C279B #9B2790 #9B2756
triadic
#9B2790 #909B27 #27909B
tetradic
#9B2790 #9B6C27 #279B32 #27569B
square
#9B2790 #9B6C27 #279B32 #27569B
split-complementary
#9B2790 #569B27 #279B6C
monochromatic
#390E35 #6A1B63 #9B2790 #CC33BD #D864CD

Accessibility & contrast

On white

6.80
#9B2790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2790
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2790#FFFFFF#000000##FFFFFF
##9B27901.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205093
Deuteranopia (green-blind)
#4D618D
Tritanopia (blue-blind)
#A23459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2790;
/* rgb */ color: rgb(155, 39, 144);
/* oklch */ color: oklch(49.6% 0.189 332.3);
Tailwind
colors: {
  custom: {
    50: '#bc6eb1',
    500: '#9b2790',
    950: '#000000',
  },
}
SCSS
$custom: #9b2790;
$custom-light: #bc6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2790",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 305.69,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.18947,
    "h": 332.3
  },
  "luminance": 0.10433
}

Semantic roles & 50–950 ramp

primary
#9B2790
secondary
#60BE69
accent
#E35445
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2790

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

Preview Lab → · Contrast checker → · Palette generator →

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