#9F239E#9F239E

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

Color values

HEX#9F239E
RGBrgb(159, 35, 158)
HSLhsl(300, 64%, 38%)
HSVhsv(300, 78%, 62%)
CMYKcmyk(0%, 78%, 0.6%, 37.6%)
CIE-LABlab(39.65, 62.72, -38.88)
CIE-LCHlch(39.65, 73.80, 328.21°)
OKLaboklab(50.71% 0.1756 -0.1078)
OKLCHoklch(50.71% 0.206 328.5)
XYZxyz(21.0704, 11.0432, 33.3629)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F239E #239F24
analogous
#62239F #9F239E #9F2360
triadic
#9F239E #9E9F23 #239E9F
tetradic
#9F239E #9F6223 #239F24 #23609F
square
#9F239E #9F6223 #239F24 #23609F
split-complementary
#9F239E #609F23 #239F62
monochromatic
#3B0D3A #6D186C #9F239E #D12ED0 #DC60DB

Accessibility & contrast

On white

6.55
#9F239E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9F239E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F239E
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F239E#FFFFFF#000000##FFFFFF
##9F239E1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0153A1
Deuteranopia (green-blind)
#47639B
Tritanopia (blue-blind)
#A43860
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f239e;
/* rgb */ color: rgb(159, 35, 158);
/* oklch */ color: oklch(50.7% 0.206 328.5);
Tailwind
colors: {
  custom: {
    50: '#bf6dbb',
    500: '#9f239e',
    950: '#000000',
  },
}
SCSS
$custom: #9f239e;
$custom-light: #bf6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f239e",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 300.484,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50712,
    "c": 0.20602,
    "h": 328.5
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F239E

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

Preview Lab → · Contrast checker → · Palette generator →

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