#9F2A92#9F2A92

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

Color values

HEX#9F2A92
RGBrgb(159, 42, 146)
HSLhsl(307, 58%, 39%)
HSVhsv(307, 74%, 62%)
CMYKcmyk(0%, 73.6%, 8.2%, 37.6%)
CIE-LABlab(39.75, 58.62, -31.45)
CIE-LCHlch(39.75, 66.53, 331.79°)
OKLaboklab(50.57% 0.1691 -0.0863)
OKLCHoklch(50.57% 0.19 333)
XYZxyz(20.3145, 11.1039, 28.2619)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A92 #2A9F37
analogous
#722A9F #9F2A92 #9F2A57
triadic
#9F2A92 #929F2A #2A929F
tetradic
#9F2A92 #9F722A #2A9F37 #2A579F
square
#9F2A92 #9F722A #2A9F37 #2A579F
split-complementary
#9F2A92 #579F2A #2A9F72
monochromatic
#3E1039 #6F1D66 #9F2A92 #CB3BBB #D86BCC

Accessibility & contrast

On white

6.52
#9F2A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9F2A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2A92
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A92#FFFFFF#000000##FFFFFF
##9F2A921.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255395
Deuteranopia (green-blind)
#51648F
Tritanopia (blue-blind)
#A6365B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2a92;
/* rgb */ color: rgb(159, 42, 146);
/* oklch */ color: oklch(50.6% 0.190 333.0);
Tailwind
colors: {
  custom: {
    50: '#bf70b2',
    500: '#9f2a92',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a92;
$custom-light: #bf70b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a92",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 306.667,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50571,
    "c": 0.18984,
    "h": 333
  },
  "luminance": 0.11102
}

Semantic roles & 50–950 ramp

primary
#9F2A92
secondary
#66BF70
accent
#E15846
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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