#9F33AA#9F33AA

#9F33AA is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.8% C 0.198 H 323.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9F33AA
RGBrgb(159, 51, 170)
HSLhsl(294, 54%, 43%)
HSVhsv(294, 70%, 67%)
CMYKcmyk(6.5%, 70%, 0%, 33.3%)
CIE-LABlab(42.22, 59.44, -41.98)
CIE-LCHlch(42.22, 72.77, 324.77°)
OKLaboklab(52.77% 0.1604 -0.1169)
OKLCHoklch(52.77% 0.198 323.9)
XYZxyz(22.7370, 12.6422, 39.2650)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F33AA #3EAA33
analogous
#6333AA #9F33AA #AA3379
triadic
#9F33AA #AA9F33 #33AA9F
tetradic
#9F33AA #AA6333 #3EAA33 #3379AA
square
#9F33AA #AA6333 #3EAA33 #3379AA
split-complementary
#9F33AA #79AA33 #33AA63
monochromatic
#47174C #73257B #9F33AA #BF50CA #D07FD9

Accessibility & contrast

On white

5.95
#9F33AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9F33AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F33AA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F33AA#FFFFFF#000000##FFFFFF
##9F33AA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAD
Deuteranopia (green-blind)
#4868A7
Tritanopia (blue-blind)
#A2476B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f33aa;
/* rgb */ color: rgb(159, 51, 170);
/* oklch */ color: oklch(52.8% 0.198 323.9);
Tailwind
colors: {
  custom: {
    50: '#bf74c4',
    500: '#9f33aa',
    950: '#000000',
  },
}
SCSS
$custom: #9f33aa;
$custom-light: #bf74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f33aa",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 294.454,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52769,
    "c": 0.19847,
    "h": 323.9
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

primary
#9F33AA
secondary
#7EC277
accent
#DD4B58
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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