#9F209F#9F209F

#9F209F is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.209 H 328.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9F209F
RGBrgb(159, 32, 159)
HSLhsl(300, 66%, 37%)
HSVhsv(300, 80%, 62%)
CMYKcmyk(0%, 79.9%, 0%, 37.6%)
CIE-LABlab(39.43, 63.71, -39.84)
CIE-LCHlch(39.43, 75.14, 327.98°)
OKLaboklab(50.57% 0.1779 -0.1105)
OKLCHoklch(50.57% 0.209 328.1)
XYZxyz(21.0723, 10.9087, 33.7899)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F209F #209F20
analogous
#60209F #9F209F #9F2060
triadic
#9F209F #9F9F20 #209F9F
tetradic
#9F209F #9F6020 #209F20 #20609F
square
#9F209F #9F6020 #209F20 #20609F
split-complementary
#9F209F #609F20 #209F60
monochromatic
#390B39 #6C166C #9F209F #D22AD2 #DE5BDE

Accessibility & contrast

On white

6.60
#9F209F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9F209F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F209F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F209F#FFFFFF#000000##FFFFFF
##9F209F1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#46629C
Tritanopia (blue-blind)
#A43660
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f209f;
/* rgb */ color: rgb(159, 32, 159);
/* oklch */ color: oklch(50.6% 0.209 328.1);
Tailwind
colors: {
  custom: {
    50: '#bf6cbc',
    500: '#9f209f',
    950: '#000000',
  },
}
SCSS
$custom: #9f209f;
$custom-light: #bf6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f209f",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 300,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50569,
    "c": 0.20943,
    "h": 328.1
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#9F209F
secondary
#59C259
accent
#E93E3E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F209F

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

Preview Lab → · Contrast checker → · Palette generator →

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