#9F2F92#9F2F92

#9F2F92 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.184 H 333.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9F2F92
RGBrgb(159, 47, 146)
HSLhsl(307, 54%, 40%)
HSVhsv(307, 70%, 62%)
CMYKcmyk(0%, 70.4%, 8.2%, 37.6%)
CIE-LABlab(40.38, 56.85, -30.47)
CIE-LCHlch(40.38, 64.50, 331.81°)
OKLaboklab(51.02% 0.1639 -0.0835)
OKLCHoklch(51.02% 0.184 333)
XYZxyz(20.5030, 11.4810, 28.3248)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F92 #2F9F3C
analogous
#742F9F #9F2F92 #9F2F5A
triadic
#9F2F92 #929F2F #2F929F
tetradic
#9F2F92 #9F742F #2F9F3C #2F5A9F
square
#9F2F92 #9F742F #2F9F3C #2F5A9F
split-complementary
#9F2F92 #5A9F2F #2F9F74
monochromatic
#41133B #702167 #9F2F92 #C844B8 #D673CA

Accessibility & contrast

On white

6.37
#9F2F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9F2F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F92
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F92#FFFFFF#000000##FFFFFF
##9F2F921.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5595
Deuteranopia (green-blind)
#53658F
Tritanopia (blue-blind)
#A63A5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f2f92;
/* rgb */ color: rgb(159, 47, 146);
/* oklch */ color: oklch(51.0% 0.184 333.0);
Tailwind
colors: {
  custom: {
    50: '#bf72b2',
    500: '#9f2f92',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f92;
$custom-light: #bf72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f92",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 306.964,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51021,
    "c": 0.18396,
    "h": 333
  },
  "luminance": 0.11479
}

Semantic roles & 50–950 ramp

primary
#9F2F92
secondary
#6DBD76
accent
#DE5B4A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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