#9F33AC#9F33AC

#9F33AC is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.9% C 0.200 H 323.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9F33AC
RGBrgb(159, 51, 172)
HSLhsl(294, 54%, 44%)
HSVhsv(294, 70%, 67%)
CMYKcmyk(7.6%, 70.3%, 0%, 32.5%)
CIE-LABlab(42.34, 59.80, -42.98)
CIE-LCHlch(42.34, 73.65, 324.29°)
OKLaboklab(52.89% 0.1604 -0.1198)
OKLCHoklch(52.89% 0.2 323.2)
XYZxyz(22.9276, 12.7185, 40.2690)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F33AC #40AC33
analogous
#6233AC #9F33AC #AC337C
triadic
#9F33AC #AC9F33 #33AC9F
tetradic
#9F33AC #AC6233 #40AC33 #337CAC
square
#9F33AC #AC6233 #40AC33 #337CAC
split-complementary
#9F33AC #7CAC33 #33AC62
monochromatic
#48174E #73257D #9F33AC #BE51CB #D080D9

Accessibility & contrast

On white

5.93
#9F33AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9F33AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F33AC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F33AC#FFFFFF#000000##FFFFFF
##9F33AC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5CAF
Deuteranopia (green-blind)
#4668A9
Tritanopia (blue-blind)
#A2486C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f33ac;
/* rgb */ color: rgb(159, 51, 172);
/* oklch */ color: oklch(52.9% 0.200 323.2);
Tailwind
colors: {
  custom: {
    50: '#bf75c5',
    500: '#9f33ac',
    950: '#000000',
  },
}
SCSS
$custom: #9f33ac;
$custom-light: #bf75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f33ac",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 293.554,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52891,
    "c": 0.20018,
    "h": 323.2
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#9F33AC
secondary
#80C278
accent
#DE4A5A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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