#9F2A94#9F2A94

#9F2A94 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.191 H 332.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9F2A94
RGBrgb(159, 42, 148)
HSLhsl(306, 58%, 39%)
HSVhsv(306, 74%, 62%)
CMYKcmyk(0%, 73.6%, 6.9%, 37.6%)
CIE-LABlab(39.86, 58.94, -32.50)
CIE-LCHlch(39.86, 67.31, 331.13°)
OKLaboklab(50.68% 0.1692 -0.0893)
OKLCHoklch(50.68% 0.191 332.2)
XYZxyz(20.4714, 11.1667, 29.0884)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A94 #2A9F35
analogous
#702A9F #9F2A94 #9F2A5A
triadic
#9F2A94 #949F2A #2A949F
tetradic
#9F2A94 #9F702A #2A9F35 #2A5A9F
square
#9F2A94 #9F702A #2A9F35 #2A5A9F
split-complementary
#9F2A94 #5A9F2A #2A9F70
monochromatic
#3E103A #6F1D67 #9F2A94 #CB3BBE #D86BCE

Accessibility & contrast

On white

6.50
#9F2A94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2A94
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A94#FFFFFF#000000##FFFFFF
##9F2A941.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235397
Deuteranopia (green-blind)
#506491
Tritanopia (blue-blind)
#A6375C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2a94;
/* rgb */ color: rgb(159, 42, 148);
/* oklch */ color: oklch(50.7% 0.191 332.2);
Tailwind
colors: {
  custom: {
    50: '#bf70b4',
    500: '#9f2a94',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a94;
$custom-light: #bf70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a94",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 305.641,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50681,
    "c": 0.19133,
    "h": 332.2
  },
  "luminance": 0.11165
}

Semantic roles & 50–950 ramp

primary
#9F2A94
secondary
#66BF6E
accent
#E15546
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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