#9B208A#9B208A

#9B208A is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.192 H 334.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9B208A
RGBrgb(155, 32, 138)
HSLhsl(308, 66%, 37%)
HSVhsv(308, 79%, 61%)
CMYKcmyk(0%, 79.4%, 11%, 39.2%)
CIE-LABlab(37.55, 59.58, -30.07)
CIE-LCHlch(37.55, 66.74, 333.22°)
OKLaboklab(48.72% 0.1736 -0.0824)
OKLCHoklch(48.72% 0.192 334.6)
XYZxyz(18.6218, 9.8382, 24.9581)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B208A #209B31
analogous
#6F209B #9B208A #9B204D
triadic
#9B208A #8A9B20 #208A9B
tetradic
#9B208A #9B6F20 #209B31 #204D9B
square
#9B208A #9B6F20 #209B31 #204D9B
split-complementary
#9B208A #4D9B20 #209B6F
monochromatic
#360B30 #68165D #9B208A #CE2AB7 #DD59CA

Accessibility & contrast

On white

7.08
#9B208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B208A
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B208A#FFFFFF#000000##FFFFFF
##9B208A1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8D
Deuteranopia (green-blind)
#4D5F87
Tritanopia (blue-blind)
#A32C54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b208a;
/* rgb */ color: rgb(155, 32, 138);
/* oklch */ color: oklch(48.7% 0.192 334.6);
Tailwind
colors: {
  custom: {
    50: '#bc6bac',
    500: '#9b208a',
    950: '#000000',
  },
}
SCSS
$custom: #9b208a;
$custom-light: #bc6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b208a",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 308.293,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4872,
    "c": 0.19218,
    "h": 334.6
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#9B208A
secondary
#56C165
accent
#E9573F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B208A

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

Preview Lab → · Contrast checker → · Palette generator →

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