#9F2398#9F2398

#9F2398 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.202 H 330.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9F2398
RGBrgb(159, 35, 152)
HSLhsl(303, 64%, 38%)
HSVhsv(303, 78%, 62%)
CMYKcmyk(0%, 78%, 4.4%, 37.6%)
CIE-LABlab(39.31, 61.76, -35.79)
CIE-LCHlch(39.31, 71.38, 329.91°)
OKLaboklab(50.36% 0.1756 -0.0988)
OKLCHoklch(50.36% 0.202 330.6)
XYZxyz(20.5666, 10.8417, 30.7091)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2398 #239F2A
analogous
#68239F #9F2398 #9F235A
triadic
#9F2398 #989F23 #23989F
tetradic
#9F2398 #9F6823 #239F2A #235A9F
square
#9F2398 #9F6823 #239F2A #235A9F
split-complementary
#9F2398 #5A9F23 #239F68
monochromatic
#3B0D38 #6D1868 #9F2398 #D12EC8 #DC60D5

Accessibility & contrast

On white

6.63
#9F2398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9F2398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2398
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2398#FFFFFF#000000##FFFFFF
##9F23981.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12529B
Deuteranopia (green-blind)
#4B6295
Tritanopia (blue-blind)
#A5345D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2398;
/* rgb */ color: rgb(159, 35, 152);
/* oklch */ color: oklch(50.4% 0.202 330.6);
Tailwind
colors: {
  custom: {
    50: '#bf6db7',
    500: '#9f2398',
    950: '#000000',
  },
}
SCSS
$custom: #9f2398;
$custom-light: #bf6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2398",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 303.387,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50359,
    "c": 0.20153,
    "h": 330.6
  },
  "luminance": 0.1084
}

Semantic roles & 50–950 ramp

primary
#9F2398
secondary
#5DC162
accent
#E74A41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2398

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

Preview Lab → · Contrast checker → · Palette generator →

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