#9F2593#9F2593

#9F2593 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.196 H 332.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9F2593
RGBrgb(159, 37, 147)
HSLhsl(306, 62%, 38%)
HSVhsv(306, 77%, 62%)
CMYKcmyk(0%, 76.7%, 7.5%, 37.6%)
CIE-LABlab(39.25, 60.38, -32.86)
CIE-LCHlch(39.25, 68.75, 331.45°)
OKLaboklab(50.22% 0.1738 -0.0903)
OKLCHoklch(50.22% 0.196 332.5)
XYZxyz(20.2262, 10.8024, 28.6179)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2593 #259F31
analogous
#6E259F #9F2593 #9F2556
triadic
#9F2593 #939F25 #25939F
tetradic
#9F2593 #9F6E25 #259F31 #25569F
square
#9F2593 #9F6E25 #259F31 #25569F
split-complementary
#9F2593 #569F25 #259F6E
monochromatic
#3C0E37 #6D1965 #9F2593 #CF32C0 #DB64CF

Accessibility & contrast

On white

6.65
#9F2593 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9F2593 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2593
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2593#FFFFFF#000000##FFFFFF
##9F25931.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2593;
/* rgb */ color: rgb(159, 37, 147);
/* oklch */ color: oklch(50.2% 0.196 332.5);
Tailwind
colors: {
  custom: {
    50: '#bf6eb3',
    500: '#9f2593',
    950: '#000000',
  },
}
SCSS
$custom: #9f2593;
$custom-light: #bf6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2593",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 147
  },
  "hsl": {
    "h": 305.902,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50223,
    "c": 0.19589,
    "h": 332.5
  },
  "luminance": 0.10801
}

Semantic roles & 50–950 ramp

primary
#9F2593
secondary
#5FC069
accent
#E55242
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2593

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

Preview Lab → · Contrast checker → · Palette generator →

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