#9B208E#9B208E

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

Color values

HEX#9B208E
RGBrgb(155, 32, 142)
HSLhsl(306, 66%, 37%)
HSVhsv(306, 79%, 61%)
CMYKcmyk(0%, 79.4%, 8.4%, 39.2%)
CIE-LABlab(37.76, 60.19, -32.19)
CIE-LCHlch(37.76, 68.25, 331.86°)
OKLaboklab(48.94% 0.1738 -0.0885)
OKLCHoklch(48.94% 0.195 333)
XYZxyz(18.9167, 9.9562, 26.5114)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B208E #209B2D
analogous
#6A209B #9B208E #9B2051
triadic
#9B208E #8E9B20 #208E9B
tetradic
#9B208E #9B6A20 #209B2D #20519B
square
#9B208E #9B6A20 #209B2D #20519B
split-complementary
#9B208E #519B20 #209B6A
monochromatic
#360B31 #681660 #9B208E #CE2ABC #DD59CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B208E#FFFFFF#000000##FFFFFF
##9B208E1.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)
#194E91
Deuteranopia (green-blind)
#4B5F8B
Tritanopia (blue-blind)
#A22E56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b208e;
/* rgb */ color: rgb(155, 32, 142);
/* oklch */ color: oklch(48.9% 0.195 333.0);
Tailwind
colors: {
  custom: {
    50: '#bc6baf',
    500: '#9b208e',
    950: '#000000',
  },
}
SCSS
$custom: #9b208e;
$custom-light: #bc6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b208e",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 306.341,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48942,
    "c": 0.19504,
    "h": 333
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

primary
#9B208E
secondary
#56C161
accent
#E9513F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B208E

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

Preview Lab → · Contrast checker → · Palette generator →

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