#9F2A93#9F2A93

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

Color values

HEX#9F2A93
RGBrgb(159, 42, 147)
HSLhsl(306, 58%, 39%)
HSVhsv(306, 74%, 62%)
CMYKcmyk(0%, 73.6%, 7.5%, 37.6%)
CIE-LABlab(39.81, 58.78, -31.98)
CIE-LCHlch(39.81, 66.91, 331.45°)
OKLaboklab(50.63% 0.1691 -0.0878)
OKLCHoklch(50.63% 0.191 332.6)
XYZxyz(20.3926, 11.1351, 28.6734)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A93 #2A9F36
analogous
#712A9F #9F2A93 #9F2A59
triadic
#9F2A93 #939F2A #2A939F
tetradic
#9F2A93 #9F712A #2A9F36 #2A599F
square
#9F2A93 #9F712A #2A9F36 #2A599F
split-complementary
#9F2A93 #599F2A #2A9F71
monochromatic
#3E1039 #6F1D66 #9F2A93 #CB3BBC #D86BCD

Accessibility & contrast

On white

6.51
#9F2A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9F2A93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2A93
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A93#FFFFFF#000000##FFFFFF
##9F2A931.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245396
Deuteranopia (green-blind)
#506490
Tritanopia (blue-blind)
#A6365C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2a93;
/* rgb */ color: rgb(159, 42, 147);
/* oklch */ color: oklch(50.6% 0.191 332.6);
Tailwind
colors: {
  custom: {
    50: '#bf70b3',
    500: '#9f2a93',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a93;
$custom-light: #bf70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a93",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 306.154,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50626,
    "c": 0.19058,
    "h": 332.6
  },
  "luminance": 0.11133
}

Semantic roles & 50–950 ramp

primary
#9F2A93
secondary
#66BF6F
accent
#E15646
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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