#9D2089#9D2089

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

Color values

HEX#9D2089
RGBrgb(157, 32, 137)
HSLhsl(310, 66%, 37%)
HSVhsv(310, 80%, 62%)
CMYKcmyk(0%, 79.6%, 12.7%, 38.4%)
CIE-LABlab(37.86, 59.88, -28.95)
CIE-LCHlch(37.86, 66.51, 334.20°)
OKLaboklab(48.99% 0.1756 -0.0791)
OKLCHoklch(48.99% 0.193 335.8)
XYZxyz(18.9368, 10.0090, 24.5967)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2089 #209D34
analogous
#73209D #9D2089 #9D204B
triadic
#9D2089 #899D20 #20899D
tetradic
#9D2089 #9D7320 #209D34 #204B9D
square
#9D2089 #9D7320 #209D34 #204B9D
split-complementary
#9D2089 #4B9D20 #209D73
monochromatic
#370B30 #6A165D #9D2089 #D02AB5 #DD5AC8

Accessibility & contrast

On white

7.00
#9D2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9D2089 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2089
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2089#FFFFFF#000000##FFFFFF
##9D20891.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8C
Deuteranopia (green-blind)
#506086
Tritanopia (blue-blind)
#A52B54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2089;
/* rgb */ color: rgb(157, 32, 137);
/* oklch */ color: oklch(49.0% 0.193 335.8);
Tailwind
colors: {
  custom: {
    50: '#be6bac',
    500: '#9d2089',
    950: '#000000',
  },
}
SCSS
$custom: #9d2089;
$custom-light: #be6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2089",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 309.6,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48992,
    "c": 0.19256,
    "h": 335.8
  },
  "luminance": 0.10007
}

Semantic roles & 50–950 ramp

primary
#9D2089
secondary
#57C168
accent
#E95A3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D2089

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

Preview Lab → · Contrast checker → · Palette generator →

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