#9F2592#9F2592

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

Color values

HEX#9F2592
RGBrgb(159, 37, 146)
HSLhsl(306, 62%, 38%)
HSVhsv(306, 77%, 62%)
CMYKcmyk(0%, 76.7%, 8.2%, 37.6%)
CIE-LABlab(39.19, 60.23, -32.34)
CIE-LCHlch(39.19, 68.36, 331.77°)
OKLaboklab(50.17% 0.1738 -0.0888)
OKLCHoklch(50.17% 0.195 332.9)
XYZxyz(20.1481, 10.7711, 28.2064)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2592 #259F32
analogous
#6F259F #9F2592 #9F2555
triadic
#9F2592 #929F25 #25929F
tetradic
#9F2592 #9F6F25 #259F32 #25559F
square
#9F2592 #9F6F25 #259F32 #25559F
split-complementary
#9F2592 #559F25 #259F6F
monochromatic
#3C0E37 #6D1964 #9F2592 #CF32BF #DB64CE

Accessibility & contrast

On white

6.66
#9F2592 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9F2592 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2592
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2592#FFFFFF#000000##FFFFFF
##9F25921.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2592;
/* rgb */ color: rgb(159, 37, 146);
/* oklch */ color: oklch(50.2% 0.195 332.9);
Tailwind
colors: {
  custom: {
    50: '#bf6eb2',
    500: '#9f2592',
    950: '#000000',
  },
}
SCSS
$custom: #9f2592;
$custom-light: #bf6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2592",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 306.393,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50167,
    "c": 0.19516,
    "h": 332.9
  },
  "luminance": 0.10769
}

Semantic roles & 50–950 ramp

primary
#9F2592
secondary
#5FC06A
accent
#E55442
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2592

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

Preview Lab → · Contrast checker → · Palette generator →

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