#9F2099#9F2099

#9F2099 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.205 H 330.3°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9F2099
RGBrgb(159, 32, 153)
HSLhsl(303, 66%, 37%)
HSVhsv(303, 80%, 62%)
CMYKcmyk(0%, 79.9%, 3.8%, 37.6%)
CIE-LABlab(39.08, 62.75, -36.77)
CIE-LCHlch(39.08, 72.73, 329.63°)
OKLaboklab(50.21% 0.178 -0.1016)
OKLCHoklch(50.21% 0.205 330.3)
XYZxyz(20.5643, 10.7055, 31.1141)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2099 #209F26
analogous
#66209F #9F2099 #9F2059
triadic
#9F2099 #999F20 #20999F
tetradic
#9F2099 #9F6620 #209F26 #20599F
square
#9F2099 #9F6620 #209F26 #20599F
split-complementary
#9F2099 #599F20 #209F66
monochromatic
#390B37 #6C1668 #9F2099 #D22ACA #DE5BD8

Accessibility & contrast

On white

6.69
#9F2099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9F2099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2099
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2099#FFFFFF#000000##FFFFFF
##9F20991.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09519C
Deuteranopia (green-blind)
#496296
Tritanopia (blue-blind)
#A5335D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2099;
/* rgb */ color: rgb(159, 32, 153);
/* oklch */ color: oklch(50.2% 0.205 330.3);
Tailwind
colors: {
  custom: {
    50: '#bf6cb7',
    500: '#9f2099',
    950: '#000000',
  },
}
SCSS
$custom: #9f2099;
$custom-light: #bf6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2099",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 302.835,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50211,
    "c": 0.205,
    "h": 330.3
  },
  "luminance": 0.10704
}

Semantic roles & 50–950 ramp

primary
#9F2099
secondary
#59C25E
accent
#E9463E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2099

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

Preview Lab → · Contrast checker → · Palette generator →

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