#9F2E93#9F2E93

#9F2E93 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.186 H 332.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9F2E93
RGBrgb(159, 46, 147)
HSLhsl(306, 55%, 40%)
HSVhsv(306, 71%, 62%)
CMYKcmyk(0%, 71.1%, 7.5%, 37.6%)
CIE-LABlab(40.30, 57.38, -31.20)
CIE-LCHlch(40.30, 65.31, 331.47°)
OKLaboklab(50.98% 0.1651 -0.0856)
OKLCHoklch(50.98% 0.186 332.6)
XYZxyz(20.5416, 11.4332, 28.7230)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E93 #2E9F3A
analogous
#732E9F #9F2E93 #9F2E5A
triadic
#9F2E93 #939F2E #2E939F
tetradic
#9F2E93 #9F732E #2E9F3A #2E5A9F
square
#9F2E93 #9F732E #2E9F3A #2E5A9F
split-complementary
#9F2E93 #5A9F2E #2E9F73
monochromatic
#40133B #702067 #9F2E93 #C842BA #D671CB

Accessibility & contrast

On white

6.39
#9F2E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9F2E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E93
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E93#FFFFFF#000000##FFFFFF
##9F2E931.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295596
Deuteranopia (green-blind)
#526590
Tritanopia (blue-blind)
#A6395D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f2e93;
/* rgb */ color: rgb(159, 46, 147);
/* oklch */ color: oklch(51.0% 0.186 332.6);
Tailwind
colors: {
  custom: {
    50: '#bf71b3',
    500: '#9f2e93',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e93;
$custom-light: #bf71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e93",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 306.372,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50981,
    "c": 0.18594,
    "h": 332.6
  },
  "luminance": 0.11432
}

Semantic roles & 50–950 ramp

primary
#9F2E93
secondary
#6BBE74
accent
#DE5949
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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