#9B289A#9B289A

#9B289A is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.196 H 328.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9B289A
RGBrgb(155, 40, 154)
HSLhsl(301, 59%, 38%)
HSVhsv(301, 74%, 61%)
CMYKcmyk(0%, 74.2%, 0.6%, 39.2%)
CIE-LABlab(39.28, 59.67, -37.10)
CIE-LCHlch(39.28, 70.27, 328.13°)
OKLaboklab(50.24% 0.167 -0.1027)
OKLCHoklch(50.24% 0.196 328.4)
XYZxyz(20.1089, 10.8207, 31.5951)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B289A #289B29
analogous
#62289B #9B289A #9B2860
triadic
#9B289A #9A9B28 #289A9B
tetradic
#9B289A #9B6228 #289B29 #28609B
square
#9B289A #9B6228 #289B29 #28609B
split-complementary
#9B289A #609B28 #289B62
monochromatic
#3A0F39 #6A1B6A #9B289A #CB35CA #D766D7

Accessibility & contrast

On white

6.64
#9B289A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9B289A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B289A
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B289A#FFFFFF#000000##FFFFFF
##9B289A1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12539D
Deuteranopia (green-blind)
#486297
Tritanopia (blue-blind)
#A03A5F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b289a;
/* rgb */ color: rgb(155, 40, 154);
/* oklch */ color: oklch(50.2% 0.196 328.4);
Tailwind
colors: {
  custom: {
    50: '#bc6fb8',
    500: '#9b289a',
    950: '#000000',
  },
}
SCSS
$custom: #9b289a;
$custom-light: #bc6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b289a",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 300.522,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50239,
    "c": 0.19605,
    "h": 328.4
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

primary
#9B289A
secondary
#61BD62
accent
#E24746
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B289A

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

Preview Lab → · Contrast checker → · Palette generator →

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