#9F2FAB#9F2FAB

#9F2FAB is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.204 H 323.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9F2FAB
RGBrgb(159, 47, 171)
HSLhsl(294, 57%, 43%)
HSVhsv(294, 73%, 67%)
CMYKcmyk(7%, 72.5%, 0%, 32.9%)
CIE-LABlab(41.76, 61.09, -43.31)
CIE-LCHlch(41.76, 74.88, 324.67°)
OKLaboklab(52.46% 0.1644 -0.1207)
OKLCHoklch(52.46% 0.204 323.7)
XYZxyz(22.6646, 12.3456, 39.7093)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FAB #3BAB2F
analogous
#612FAB #9F2FAB #AB2F79
triadic
#9F2FAB #AB9F2F #2FAB9F
tetradic
#9F2FAB #AB612F #3BAB2F #2F79AB
square
#9F2FAB #AB612F #3BAB2F #2F79AB
split-complementary
#9F2FAB #79AB2F #2FAB61
monochromatic
#46154B #72227B #9F2FAB #C14ACD #D17ADA

Accessibility & contrast

On white

6.05
#9F2FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9F2FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FAB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FAB#FFFFFF#000000##FFFFFF
##9F2FAB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#4567A8
Tritanopia (blue-blind)
#A2456A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f2fab;
/* rgb */ color: rgb(159, 47, 171);
/* oklch */ color: oklch(52.5% 0.204 323.7);
Tailwind
colors: {
  custom: {
    50: '#bf73c4',
    500: '#9f2fab',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fab;
$custom-light: #bf73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fab",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 294.194,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.20397,
    "h": 323.7
  },
  "luminance": 0.12344
}

Semantic roles & 50–950 ramp

primary
#9F2FAB
secondary
#7BC373
accent
#E04856
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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