#9F2993#9F2993

#9F2993 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.192 H 332.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9F2993
RGBrgb(159, 41, 147)
HSLhsl(306, 59%, 39%)
HSVhsv(306, 74%, 62%)
CMYKcmyk(0%, 74.2%, 7.5%, 37.6%)
CIE-LABlab(39.69, 59.11, -32.16)
CIE-LCHlch(39.69, 67.30, 331.45°)
OKLaboklab(50.54% 0.1701 -0.0883)
OKLCHoklch(50.54% 0.192 332.6)
XYZxyz(20.3576, 11.0651, 28.6617)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2993 #299F35
analogous
#70299F #9F2993 #9F2958
triadic
#9F2993 #939F29 #29939F
tetradic
#9F2993 #9F7029 #299F35 #29589F
square
#9F2993 #9F7029 #299F35 #29589F
split-complementary
#9F2993 #589F29 #299F70
monochromatic
#3E1039 #6E1C66 #9F2993 #CC39BD #D96ACD

Accessibility & contrast

On white

6.54
#9F2993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2993
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2993#FFFFFF#000000##FFFFFF
##9F29931.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225396
Deuteranopia (green-blind)
#506390
Tritanopia (blue-blind)
#A6365B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2993;
/* rgb */ color: rgb(159, 41, 147);
/* oklch */ color: oklch(50.5% 0.192 332.6);
Tailwind
colors: {
  custom: {
    50: '#bf6fb3',
    500: '#9f2993',
    950: '#000000',
  },
}
SCSS
$custom: #9f2993;
$custom-light: #bf6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2993",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 306.102,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50542,
    "c": 0.19168,
    "h": 332.6
  },
  "luminance": 0.11063
}

Semantic roles & 50–950 ramp

primary
#9F2993
secondary
#65BF6E
accent
#E25646
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2993

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

Preview Lab → · Contrast checker → · Palette generator →

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