#9F2393#9F2393

#9F2393 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.198 H 332.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9F2393
RGBrgb(159, 35, 147)
HSLhsl(306, 64%, 38%)
HSVhsv(306, 78%, 62%)
CMYKcmyk(0%, 78%, 7.5%, 37.6%)
CIE-LABlab(39.04, 60.98, -33.19)
CIE-LCHlch(39.04, 69.43, 331.44°)
OKLaboklab(50.07% 0.1756 -0.0913)
OKLCHoklch(50.07% 0.198 332.5)
XYZxyz(20.1657, 10.6813, 28.5977)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2393 #239F2F
analogous
#6D239F #9F2393 #9F2355
triadic
#9F2393 #939F23 #23939F
tetradic
#9F2393 #9F6D23 #239F2F #23559F
square
#9F2393 #9F6D23 #239F2F #23559F
split-complementary
#9F2393 #559F23 #239F6D
monochromatic
#3B0D36 #6D1865 #9F2393 #D12EC1 #DC60D0

Accessibility & contrast

On white

6.70
#9F2393 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9F2393 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2393
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2393#FFFFFF#000000##FFFFFF
##9F23931.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5196
Deuteranopia (green-blind)
#4E6290
Tritanopia (blue-blind)
#A6325A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2393;
/* rgb */ color: rgb(159, 35, 147);
/* oklch */ color: oklch(50.1% 0.198 332.5);
Tailwind
colors: {
  custom: {
    50: '#bf6db3',
    500: '#9f2393',
    950: '#000000',
  },
}
SCSS
$custom: #9f2393;
$custom-light: #bf6db3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2393",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 305.806,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50074,
    "c": 0.19786,
    "h": 332.5
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#9F2393
secondary
#5DC166
accent
#E75141
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2393

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

Preview Lab → · Contrast checker → · Palette generator →

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