#9F208C#9F208C

#9F208C is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.196 H 335.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9F208C
RGBrgb(159, 32, 140)
HSLhsl(309, 66%, 37%)
HSVhsv(309, 80%, 62%)
CMYKcmyk(0%, 79.9%, 11.9%, 37.6%)
CIE-LABlab(38.37, 60.77, -29.96)
CIE-LCHlch(38.37, 67.75, 333.76°)
OKLaboklab(49.48% 0.1777 -0.0819)
OKLCHoklch(49.48% 0.196 335.3)
XYZxyz(19.5485, 10.2992, 25.7643)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F208C #209F33
analogous
#72209F #9F208C #9F204D
triadic
#9F208C #8C9F20 #208C9F
tetradic
#9F208C #9F7220 #209F33 #204D9F
square
#9F208C #9F7220 #209F33 #204D9F
split-complementary
#9F208C #4D9F20 #209F72
monochromatic
#390B32 #6C165F #9F208C #D22AB9 #DE5BCB

Accessibility & contrast

On white

6.86
#9F208C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F208C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F208C
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F208C#FFFFFF#000000##FFFFFF
##9F208C1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8F
Deuteranopia (green-blind)
#506189
Tritanopia (blue-blind)
#A72C55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f208c;
/* rgb */ color: rgb(159, 32, 140);
/* oklch */ color: oklch(49.5% 0.196 335.3);
Tailwind
colors: {
  custom: {
    50: '#bf6cae',
    500: '#9f208c',
    950: '#000000',
  },
}
SCSS
$custom: #9f208c;
$custom-light: #bf6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f208c",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 308.976,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49479,
    "c": 0.1957,
    "h": 335.3
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#9F208C
secondary
#59C268
accent
#E9583E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F208C

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

Preview Lab → · Contrast checker → · Palette generator →

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