#9C208B#9C208B

#9C208B is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.193 H 334.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9C208B
RGBrgb(156, 32, 139)
HSLhsl(308, 66%, 37%)
HSVhsv(308, 79%, 61%)
CMYKcmyk(0%, 79.5%, 10.9%, 38.8%)
CIE-LABlab(37.78, 59.95, -30.31)
CIE-LCHlch(37.78, 67.18, 333.18°)
OKLaboklab(48.94% 0.1747 -0.083)
OKLCHoklch(48.94% 0.193 334.6)
XYZxyz(18.8872, 9.9667, 25.3501)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C208B #209C31
analogous
#6F209C #9C208B #9C204D
triadic
#9C208B #8B9C20 #208B9C
tetradic
#9C208B #9C6F20 #209C31 #204D9C
square
#9C208B #9C6F20 #209C31 #204D9C
split-complementary
#9C208B #4D9C20 #209C6F
monochromatic
#360B31 #69165E #9C208B #CF2AB8 #DD59CB

Accessibility & contrast

On white

7.02
#9C208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9C208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C208B
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C208B#FFFFFF#000000##FFFFFF
##9C208B1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8E
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#A42C55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c208b;
/* rgb */ color: rgb(156, 32, 139);
/* oklch */ color: oklch(48.9% 0.193 334.6);
Tailwind
colors: {
  custom: {
    50: '#bd6bad',
    500: '#9c208b',
    950: '#000000',
  },
}
SCSS
$custom: #9c208b;
$custom-light: #bd6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#9c208b",
  "rgb": {
    "r": 156,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 308.226,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48937,
    "c": 0.19342,
    "h": 334.6
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#9C208B
secondary
#57C165
accent
#E9563F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C208B

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

Preview Lab → · Contrast checker → · Palette generator →

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