#9F239A#9F239A

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

Color values

HEX#9F239A
RGBrgb(159, 35, 154)
HSLhsl(302, 64%, 38%)
HSVhsv(302, 78%, 62%)
CMYKcmyk(0%, 78%, 3.1%, 37.6%)
CIE-LABlab(39.42, 62.08, -36.83)
CIE-LCHlch(39.42, 72.18, 329.32°)
OKLaboklab(50.48% 0.1756 -0.1018)
OKLCHoklch(50.48% 0.203 329.9)
XYZxyz(20.7317, 10.9077, 31.5791)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F239A #239F28
analogous
#66239F #9F239A #9F235C
triadic
#9F239A #9A9F23 #239A9F
tetradic
#9F239A #9F6623 #239F28 #235C9F
square
#9F239A #9F6623 #239F28 #235C9F
split-complementary
#9F239A #5C9F23 #239F66
monochromatic
#3B0D39 #6D1869 #9F239A #D12ECA #DC60D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F239A#FFFFFF#000000##FFFFFF
##9F239A1.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)
#0E529D
Deuteranopia (green-blind)
#4A6397
Tritanopia (blue-blind)
#A5355E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f239a;
/* rgb */ color: rgb(159, 35, 154);
/* oklch */ color: oklch(50.5% 0.203 329.9);
Tailwind
colors: {
  custom: {
    50: '#bf6db8',
    500: '#9f239a',
    950: '#000000',
  },
}
SCSS
$custom: #9f239a;
$custom-light: #bf6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f239a",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 302.419,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50475,
    "c": 0.20301,
    "h": 329.9
  },
  "luminance": 0.10906
}

Semantic roles & 50–950 ramp

primary
#9F239A
secondary
#5DC161
accent
#E74841
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F239A

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

Preview Lab → · Contrast checker → · Palette generator →

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