#9B288A#9B288A

#9B288A is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.184 H 334.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9B288A
RGBrgb(155, 40, 138)
HSLhsl(309, 59%, 38%)
HSVhsv(309, 74%, 61%)
CMYKcmyk(0%, 74.2%, 11%, 39.2%)
CIE-LABlab(38.42, 57.10, -28.71)
CIE-LCHlch(38.42, 63.92, 333.31°)
OKLaboklab(49.34% 0.1663 -0.0785)
OKLCHoklch(49.34% 0.184 334.7)
XYZxyz(18.8640, 10.3228, 25.0388)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B288A #289B39
analogous
#72289B #9B288A #9B2850
triadic
#9B288A #8A9B28 #288A9B
tetradic
#9B288A #9B7228 #289B39 #28509B
square
#9B288A #9B7228 #289B39 #28509B
split-complementary
#9B288A #509B28 #289B72
monochromatic
#3A0F33 #6A1B5F #9B288A #CB35B5 #D766C7

Accessibility & contrast

On white

6.85
#9B288A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9B288A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B288A
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B288A#FFFFFF#000000##FFFFFF
##9B288A1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#506087
Tritanopia (blue-blind)
#A33256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b288a;
/* rgb */ color: rgb(155, 40, 138);
/* oklch */ color: oklch(49.3% 0.184 334.7);
Tailwind
colors: {
  custom: {
    50: '#bc6eac',
    500: '#9b288a',
    950: '#000000',
  },
}
SCSS
$custom: #9b288a;
$custom-light: #bc6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b288a",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 308.87,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49342,
    "c": 0.18392,
    "h": 334.7
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#9B288A
secondary
#61BD6F
accent
#E25D46
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B288A

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

Preview Lab → · Contrast checker → · Palette generator →

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