#9B288F#9B288F

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

Color values

HEX#9B288F
RGBrgb(155, 40, 143)
HSLhsl(306, 59%, 38%)
HSVhsv(306, 74%, 61%)
CMYKcmyk(0%, 74.2%, 7.7%, 39.2%)
CIE-LABlab(38.67, 57.88, -31.37)
CIE-LCHlch(38.67, 65.84, 331.55°)
OKLaboklab(49.61% 0.1667 -0.0861)
OKLCHoklch(49.61% 0.188 332.7)
XYZxyz(19.2344, 10.4709, 26.9893)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B288F #289B34
analogous
#6D289B #9B288F #9B2855
triadic
#9B288F #8F9B28 #288F9B
tetradic
#9B288F #9B6D28 #289B34 #28559B
square
#9B288F #9B6D28 #289B34 #28559B
split-complementary
#9B288F #559B28 #289B6D
monochromatic
#3A0F35 #6A1B62 #9B288F #CB35BB #D766CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B288F#FFFFFF#000000##FFFFFF
##9B288F1.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)
#225192
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#A23459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b288f;
/* rgb */ color: rgb(155, 40, 143);
/* oklch */ color: oklch(49.6% 0.188 332.7);
Tailwind
colors: {
  custom: {
    50: '#bc6eb0',
    500: '#9b288f',
    950: '#000000',
  },
}
SCSS
$custom: #9b288f;
$custom-light: #bc6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b288f",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 306.261,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49612,
    "c": 0.18762,
    "h": 332.7
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#9B288F
secondary
#61BD6B
accent
#E25646
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B288F

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

Preview Lab → · Contrast checker → · Palette generator →

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