#9F239B#9F239B

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

Color values

HEX#9F239B
RGBrgb(159, 35, 155)
HSLhsl(302, 64%, 38%)
HSVhsv(302, 78%, 62%)
CMYKcmyk(0%, 78%, 2.5%, 37.6%)
CIE-LABlab(39.48, 62.24, -37.34)
CIE-LCHlch(39.48, 72.58, 329.04°)
OKLaboklab(50.53% 0.1756 -0.1033)
OKLCHoklch(50.53% 0.204 329.5)
XYZxyz(20.8154, 10.9412, 32.0195)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F239B #239F27
analogous
#65239F #9F239B #9F235D
triadic
#9F239B #9B9F23 #239B9F
tetradic
#9F239B #9F6523 #239F27 #235D9F
square
#9F239B #9F6523 #239F27 #235D9F
split-complementary
#9F239B #5D9F23 #239F65
monochromatic
#3B0D39 #6D186A #9F239B #D12ECC #DC60D8

Accessibility & contrast

On white

6.59
#9F239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9F239B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F239B
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F239B#FFFFFF#000000##FFFFFF
##9F239B1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B539E
Deuteranopia (green-blind)
#496398
Tritanopia (blue-blind)
#A5365E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f239b;
/* rgb */ color: rgb(159, 35, 155);
/* oklch */ color: oklch(50.5% 0.204 329.5);
Tailwind
colors: {
  custom: {
    50: '#bf6db9',
    500: '#9f239b',
    950: '#000000',
  },
}
SCSS
$custom: #9f239b;
$custom-light: #bf6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f239b",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 301.935,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50534,
    "c": 0.20376,
    "h": 329.5
  },
  "luminance": 0.1094
}

Semantic roles & 50–950 ramp

primary
#9F239B
secondary
#5DC160
accent
#E74641
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F239B

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

Preview Lab → · Contrast checker → · Palette generator →

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