#9B289B#9B289B

#9B289B is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.197 H 328.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9B289B
RGBrgb(155, 40, 155)
HSLhsl(300, 59%, 38%)
HSVhsv(300, 74%, 61%)
CMYKcmyk(0%, 74.2%, 0%, 39.2%)
CIE-LABlab(39.33, 59.84, -37.62)
CIE-LCHlch(39.33, 70.68, 327.84°)
OKLaboklab(50.3% 0.167 -0.1042)
OKLCHoklch(50.3% 0.197 328)
XYZxyz(20.1925, 10.8542, 32.0355)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B289B #289B28
analogous
#61289B #9B289B #9B2861
triadic
#9B289B #9B9B28 #289B9B
tetradic
#9B289B #9B6128 #289B28 #28619B
square
#9B289B #9B6128 #289B28 #28619B
split-complementary
#9B289B #619B28 #289B61
monochromatic
#3A0F3A #6A1B6A #9B289B #CB35CB #D766D7

Accessibility & contrast

On white

6.62
#9B289B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9B289B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B289B
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B289B#FFFFFF#000000##FFFFFF
##9B289B1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10539E
Deuteranopia (green-blind)
#486298
Tritanopia (blue-blind)
#A03A60
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b289b;
/* rgb */ color: rgb(155, 40, 155);
/* oklch */ color: oklch(50.3% 0.197 328.0);
Tailwind
colors: {
  custom: {
    50: '#bc6fb9',
    500: '#9b289b',
    950: '#000000',
  },
}
SCSS
$custom: #9b289b;
$custom-light: #bc6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b289b",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 300,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50298,
    "c": 0.19683,
    "h": 328
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

primary
#9B289B
secondary
#61BD61
accent
#E24646
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B289B

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

Preview Lab → · Contrast checker → · Palette generator →

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