#9F33B5#9F33B5

#9F33B5 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.208 H 320.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9F33B5
RGBrgb(159, 51, 181)
HSLhsl(290, 56%, 45%)
HSVhsv(290, 72%, 71%)
CMYKcmyk(12.2%, 71.8%, 0%, 29%)
CIE-LABlab(42.88, 61.46, -47.44)
CIE-LCHlch(42.88, 77.64, 322.34°)
OKLaboklab(53.45% 0.1599 -0.1328)
OKLCHoklch(53.45% 0.208 320.3)
XYZxyz(23.8214, 13.0760, 44.9763)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F33B5 #49B533
analogous
#5E33B5 #9F33B5 #B5338A
triadic
#9F33B5 #B59F33 #33B59F
tetradic
#9F33B5 #B55E33 #49B533 #338AB5
square
#9F33B5 #B55E33 #49B533 #338AB5
split-complementary
#9F33B5 #8AB533 #33B55E
monochromatic
#4B1856 #752685 #9F33B5 #BB56CF #CE86DD

Accessibility & contrast

On white

5.81
#9F33B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9F33B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F33B5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F33B5#FFFFFF#000000##FFFFFF
##9F33B51.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#4069B2
Tritanopia (blue-blind)
#A04C71
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f33b5;
/* rgb */ color: rgb(159, 51, 181);
/* oklch */ color: oklch(53.5% 0.208 320.3);
Tailwind
colors: {
  custom: {
    50: '#bf75cc',
    500: '#9f33b5',
    950: '#000000',
  },
}
SCSS
$custom: #9f33b5;
$custom-light: #bf75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f33b5",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 289.846,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53452,
    "c": 0.2079,
    "h": 320.3
  },
  "luminance": 0.13075
}

Semantic roles & 50–950 ramp

primary
#9F33B5
secondary
#8AC67D
accent
#DF4862
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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