#9F208A#9F208A

#9F208A is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.4% C 0.194 H 336.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9F208A
RGBrgb(159, 32, 138)
HSLhsl(310, 66%, 37%)
HSVhsv(310, 80%, 62%)
CMYKcmyk(0%, 79.9%, 13.2%, 37.6%)
CIE-LABlab(38.27, 60.48, -28.89)
CIE-LCHlch(38.27, 67.02, 334.47°)
OKLaboklab(49.37% 0.1776 -0.0789)
OKLCHoklch(49.37% 0.194 336.1)
XYZxyz(19.4024, 10.2408, 24.9947)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F208A #209F35
analogous
#74209F #9F208A #9F204B
triadic
#9F208A #8A9F20 #208A9F
tetradic
#9F208A #9F7420 #209F35 #204B9F
square
#9F208A #9F7420 #209F35 #204B9F
split-complementary
#9F208A #4B9F20 #209F74
monochromatic
#390B32 #6C165E #9F208A #D22AB6 #DE5BC8

Accessibility & contrast

On white

6.89
#9F208A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F208A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F208A
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F208A#FFFFFF#000000##FFFFFF
##9F208A1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8D
Deuteranopia (green-blind)
#516187
Tritanopia (blue-blind)
#A72B54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f208a;
/* rgb */ color: rgb(159, 32, 138);
/* oklch */ color: oklch(49.4% 0.194 336.1);
Tailwind
colors: {
  custom: {
    50: '#bf6bac',
    500: '#9f208a',
    950: '#000000',
  },
}
SCSS
$custom: #9f208a;
$custom-light: #bf6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f208a",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 309.921,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49372,
    "c": 0.19432,
    "h": 336.1
  },
  "luminance": 0.10239
}

Semantic roles & 50–950 ramp

primary
#9F208A
secondary
#59C26A
accent
#E95B3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F208A

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

Preview Lab → · Contrast checker → · Palette generator →

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