#9F2FAC#9F2FAC

#9F2FAC is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.205 H 323.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9F2FAC
RGBrgb(159, 47, 172)
HSLhsl(294, 57%, 43%)
HSVhsv(294, 73%, 67%)
CMYKcmyk(7.6%, 72.7%, 0%, 32.5%)
CIE-LABlab(41.82, 61.27, -43.80)
CIE-LCHlch(41.82, 75.32, 324.44°)
OKLaboklab(52.52% 0.1644 -0.1222)
OKLCHoklch(52.52% 0.205 323.4)
XYZxyz(22.7603, 12.3839, 40.2132)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FAC #3CAC2F
analogous
#602FAC #9F2FAC #AC2F7A
triadic
#9F2FAC #AC9F2F #2FAC9F
tetradic
#9F2FAC #AC602F #3CAC2F #2F7AAC
square
#9F2FAC #AC602F #3CAC2F #2F7AAC
split-complementary
#9F2FAC #7AAC2F #2FAC60
monochromatic
#46154C #73227C #9F2FAC #C04BCE #D17BDB

Accessibility & contrast

On white

6.04
#9F2FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9F2FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FAC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FAC#FFFFFF#000000##FFFFFF
##9F2FAC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#4467A9
Tritanopia (blue-blind)
#A2456B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2fac;
/* rgb */ color: rgb(159, 47, 172);
/* oklch */ color: oklch(52.5% 0.205 323.4);
Tailwind
colors: {
  custom: {
    50: '#bf73c5',
    500: '#9f2fac',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fac;
$custom-light: #bf73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fac",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 293.76,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52521,
    "c": 0.2048,
    "h": 323.4
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#9F2FAC
secondary
#7CC374
accent
#E04757
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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