#9F239D#9F239D

#9F239D is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.205 H 328.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9F239D
RGBrgb(159, 35, 157)
HSLhsl(301, 64%, 38%)
HSVhsv(301, 78%, 62%)
CMYKcmyk(0%, 78%, 1.3%, 37.6%)
CIE-LABlab(39.60, 62.56, -38.37)
CIE-LCHlch(39.60, 73.39, 328.48°)
OKLaboklab(50.65% 0.1756 -0.1063)
OKLCHoklch(50.65% 0.205 328.8)
XYZxyz(20.9847, 11.0089, 32.9114)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F239D #239F25
analogous
#63239F #9F239D #9F235F
triadic
#9F239D #9D9F23 #239D9F
tetradic
#9F239D #9F6323 #239F25 #235F9F
square
#9F239D #9F6323 #239F25 #235F9F
split-complementary
#9F239D #5F9F23 #239F63
monochromatic
#3B0D3A #6D186B #9F239D #D12ECE #DC60DA

Accessibility & contrast

On white

6.56
#9F239D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9F239D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F239D
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F239D#FFFFFF#000000##FFFFFF
##9F239D1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0553A0
Deuteranopia (green-blind)
#48639A
Tritanopia (blue-blind)
#A43760
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f239d;
/* rgb */ color: rgb(159, 35, 157);
/* oklch */ color: oklch(50.7% 0.205 328.8);
Tailwind
colors: {
  custom: {
    50: '#bf6dba',
    500: '#9f239d',
    950: '#000000',
  },
}
SCSS
$custom: #9f239d;
$custom-light: #bf6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f239d",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 300.968,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50652,
    "c": 0.20526,
    "h": 328.8
  },
  "luminance": 0.11007
}

Semantic roles & 50–950 ramp

primary
#9F239D
secondary
#5DC15E
accent
#E74441
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F239D

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

Preview Lab → · Contrast checker → · Palette generator →

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