#9F2292#9F2292

#9F2292 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.198 H 332.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9F2292
RGBrgb(159, 34, 146)
HSLhsl(306, 65%, 38%)
HSVhsv(306, 79%, 62%)
CMYKcmyk(0%, 78.6%, 8.2%, 37.6%)
CIE-LABlab(38.88, 61.11, -32.82)
CIE-LCHlch(38.88, 69.37, 331.76°)
OKLaboklab(49.95% 0.1764 -0.0902)
OKLCHoklch(49.95% 0.198 332.9)
XYZxyz(20.0585, 10.5920, 28.1766)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2292 #229F2F
analogous
#6D229F #9F2292 #9F2253
triadic
#9F2292 #929F22 #22929F
tetradic
#9F2292 #9F6D22 #229F2F #22539F
square
#9F2292 #9F6D22 #229F2F #22539F
split-complementary
#9F2292 #539F22 #229F6D
monochromatic
#3A0C35 #6D1764 #9F2292 #D12DC0 #DD5FD0

Accessibility & contrast

On white

6.74
#9F2292 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9F2292 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2292
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2292#FFFFFF#000000##FFFFFF
##9F22921.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5095
Deuteranopia (green-blind)
#4E628F
Tritanopia (blue-blind)
#A63059
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2292;
/* rgb */ color: rgb(159, 34, 146);
/* oklch */ color: oklch(49.9% 0.198 332.9);
Tailwind
colors: {
  custom: {
    50: '#bf6cb2',
    500: '#9f2292',
    950: '#000000',
  },
}
SCSS
$custom: #9f2292;
$custom-light: #bf6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2292",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 306.24,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49947,
    "c": 0.19809,
    "h": 332.9
  },
  "luminance": 0.1059
}

Semantic roles & 50–950 ramp

primary
#9F2292
secondary
#5BC166
accent
#E85140
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2292

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

Preview Lab → · Contrast checker → · Palette generator →

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