#9D2099#9D2099

#9D2099 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.204 H 329.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9D2099
RGBrgb(157, 32, 153)
HSLhsl(302, 66%, 37%)
HSVhsv(302, 80%, 62%)
CMYKcmyk(0%, 79.6%, 2.5%, 38.4%)
CIE-LABlab(38.73, 62.34, -37.35)
CIE-LCHlch(38.73, 72.67, 329.07°)
OKLaboklab(49.9% 0.176 -0.1033)
OKLCHoklch(49.9% 0.204 329.6)
XYZxyz(20.1708, 10.5026, 31.0957)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2099 #209D24
analogous
#63209D #9D2099 #9D205B
triadic
#9D2099 #999D20 #20999D
tetradic
#9D2099 #9D6320 #209D24 #205B9D
square
#9D2099 #9D6320 #209D24 #205B9D
split-complementary
#9D2099 #5B9D20 #209D63
monochromatic
#370B36 #6A1667 #9D2099 #D02ACB #DD5AD9

Accessibility & contrast

On white

6.77
#9D2099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9D2099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2099
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2099#FFFFFF#000000##FFFFFF
##9D20991.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04519C
Deuteranopia (green-blind)
#476196
Tritanopia (blue-blind)
#A3345D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2099;
/* rgb */ color: rgb(157, 32, 153);
/* oklch */ color: oklch(49.9% 0.204 329.6);
Tailwind
colors: {
  custom: {
    50: '#be6cb7',
    500: '#9d2099',
    950: '#000000',
  },
}
SCSS
$custom: #9d2099;
$custom-light: #be6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2099",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 301.92,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49896,
    "c": 0.20405,
    "h": 329.6
  },
  "luminance": 0.10501
}

Semantic roles & 50–950 ramp

primary
#9D2099
secondary
#57C15B
accent
#E9443F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D2099

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

Preview Lab → · Contrast checker → · Palette generator →

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