#9F2FAD#9F2FAD

#9F2FAD is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.206 H 323.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9F2FAD
RGBrgb(159, 47, 173)
HSLhsl(293, 57%, 43%)
HSVhsv(293, 73%, 68%)
CMYKcmyk(8.1%, 72.8%, 0%, 32.2%)
CIE-LABlab(41.88, 61.45, -44.30)
CIE-LCHlch(41.88, 75.75, 324.21°)
OKLaboklab(52.58% 0.1643 -0.1236)
OKLCHoklch(52.58% 0.206 323)
XYZxyz(22.8567, 12.4224, 40.7209)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FAD #3DAD2F
analogous
#602FAD #9F2FAD #AD2F7C
triadic
#9F2FAD #AD9F2F #2FAD9F
tetradic
#9F2FAD #AD602F #3DAD2F #2F7CAD
square
#9F2FAD #AD602F #3DAD2F #2F7CAD
split-complementary
#9F2FAD #7CAD2F #2FAD60
monochromatic
#47154D #73227D #9F2FAD #C04BCE #D17BDB

Accessibility & contrast

On white

6.03
#9F2FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2FAD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FAD#FFFFFF#000000##FFFFFF
##9F2FAD1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#4367AA
Tritanopia (blue-blind)
#A1466B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2fad;
/* rgb */ color: rgb(159, 47, 173);
/* oklch */ color: oklch(52.6% 0.206 323.0);
Tailwind
colors: {
  custom: {
    50: '#bf73c6',
    500: '#9f2fad',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fad;
$custom-light: #bf73c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fad",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 293.333,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52583,
    "c": 0.20563,
    "h": 323
  },
  "luminance": 0.12421
}

Semantic roles & 50–950 ramp

primary
#9F2FAD
secondary
#7DC474
accent
#E14758
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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