#9F33B7#9F33B7

#9F33B7 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.210 H 319.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9F33B7
RGBrgb(159, 51, 183)
HSLhsl(289, 56%, 46%)
HSVhsv(289, 72%, 72%)
CMYKcmyk(13.1%, 72.1%, 0%, 28.2%)
CIE-LABlab(43.00, 61.84, -48.41)
CIE-LCHlch(43.00, 78.53, 321.94°)
OKLaboklab(53.58% 0.1598 -0.1357)
OKLCHoklch(53.58% 0.21 319.7)
XYZxyz(24.0281, 13.1587, 46.0648)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F33B7 #4BB733
analogous
#5D33B7 #9F33B7 #B7338D
triadic
#9F33B7 #B79F33 #33B79F
tetradic
#9F33B7 #B75D33 #4BB733 #338DB7
square
#9F33B7 #B75D33 #4BB733 #338DB7
split-complementary
#9F33B7 #8DB733 #33B75D
monochromatic
#4C1857 #752687 #9F33B7 #BA57D0 #CE87DE

Accessibility & contrast

On white

5.78
#9F33B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9F33B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F33B7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F33B7#FFFFFF#000000##FFFFFF
##9F33B71.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#3E69B4
Tritanopia (blue-blind)
#9F4D72
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f33b7;
/* rgb */ color: rgb(159, 51, 183);
/* oklch */ color: oklch(53.6% 0.210 319.7);
Tailwind
colors: {
  custom: {
    50: '#bf75cd',
    500: '#9f33b7',
    950: '#000000',
  },
}
SCSS
$custom: #9f33b7;
$custom-light: #bf75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f33b7",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 289.091,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5358,
    "c": 0.20963,
    "h": 319.7
  },
  "luminance": 0.13157
}

Semantic roles & 50–950 ramp

primary
#9F33B7
secondary
#8CC77F
accent
#E04864
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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