#9F33BA#9F33BA

#9F33BA is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.212 H 318.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9F33BA
RGBrgb(159, 51, 186)
HSLhsl(288, 57%, 46%)
HSVhsv(288, 73%, 73%)
CMYKcmyk(14.5%, 72.6%, 0%, 27.1%)
CIE-LABlab(43.19, 62.40, -49.87)
CIE-LCHlch(43.19, 79.89, 321.37°)
OKLaboklab(53.77% 0.1595 -0.14)
OKLCHoklch(53.77% 0.212 318.7)
XYZxyz(24.3436, 13.2849, 47.7268)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F33BA #4EBA33
analogous
#5C33BA #9F33BA #BA3392
triadic
#9F33BA #BA9F33 #33BA9F
tetradic
#9F33BA #BA5C33 #4EBA33 #3392BA
square
#9F33BA #BA5C33 #4EBA33 #3392BA
split-complementary
#9F33BA #92BA33 #33BA5C
monochromatic
#4D195A #76268A #9F33BA #B959D1 #CD89DF

Accessibility & contrast

On white

5.74
#9F33BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9F33BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F33BA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F33BA#FFFFFF#000000##FFFFFF
##9F33BA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#3B69B7
Tritanopia (blue-blind)
#9F4E74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f33ba;
/* rgb */ color: rgb(159, 51, 186);
/* oklch */ color: oklch(53.8% 0.212 318.7);
Tailwind
colors: {
  custom: {
    50: '#bf75cf',
    500: '#9f33ba',
    950: '#000000',
  },
}
SCSS
$custom: #9f33ba;
$custom-light: #bf75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f33ba",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 288,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53774,
    "c": 0.21224,
    "h": 318.7
  },
  "luminance": 0.13284
}

Semantic roles & 50–950 ramp

primary
#9F33BA
secondary
#8FC980
accent
#E04866
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F33BA

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

Preview Lab → · Contrast checker → · Palette generator →

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