#9B208B#9B208B

#9B208B is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.193 H 334.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9B208B
RGBrgb(155, 32, 139)
HSLhsl(308, 66%, 37%)
HSVhsv(308, 79%, 61%)
CMYKcmyk(0%, 79.4%, 10.3%, 39.2%)
CIE-LABlab(37.60, 59.73, -30.60)
CIE-LCHlch(37.60, 67.11, 332.87°)
OKLaboklab(48.78% 0.1737 -0.0839)
OKLCHoklch(48.78% 0.193 334.2)
XYZxyz(18.6945, 9.8673, 25.3411)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B208B #209B30
analogous
#6E209B #9B208B #9B204E
triadic
#9B208B #8B9B20 #208B9B
tetradic
#9B208B #9B6E20 #209B30 #204E9B
square
#9B208B #9B6E20 #209B30 #204E9B
split-complementary
#9B208B #4E9B20 #209B6E
monochromatic
#360B30 #68165E #9B208B #CE2AB8 #DD59CC

Accessibility & contrast

On white

7.06
#9B208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9B208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B208B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B208B#FFFFFF#000000##FFFFFF
##9B208B1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8E
Deuteranopia (green-blind)
#4D5F88
Tritanopia (blue-blind)
#A32D55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b208b;
/* rgb */ color: rgb(155, 32, 139);
/* oklch */ color: oklch(48.8% 0.193 334.2);
Tailwind
colors: {
  custom: {
    50: '#bc6bad',
    500: '#9b208b',
    950: '#000000',
  },
}
SCSS
$custom: #9b208b;
$custom-light: #bc6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#9b208b",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 307.805,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48775,
    "c": 0.19289,
    "h": 334.2
  },
  "luminance": 0.09866
}

Semantic roles & 50–950 ramp

primary
#9B208B
secondary
#56C164
accent
#E9553F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B208B

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

Preview Lab → · Contrast checker → · Palette generator →

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