#9F33BD#9F33BD

#9F33BD is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.215 H 317.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9F33BD
RGBrgb(159, 51, 189)
HSLhsl(287, 58%, 47%)
HSVhsv(287, 73%, 74%)
CMYKcmyk(15.9%, 73%, 0%, 25.9%)
CIE-LABlab(43.38, 62.98, -51.33)
CIE-LCHlch(43.38, 81.24, 320.82°)
OKLaboklab(53.97% 0.1593 -0.1442)
OKLCHoklch(53.97% 0.215 317.8)
XYZxyz(24.6659, 13.4138, 49.4241)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F33BD #51BD33
analogous
#5A33BD #9F33BD #BD3396
triadic
#9F33BD #BD9F33 #33BD9F
tetradic
#9F33BD #BD5A33 #51BD33 #3396BD
square
#9F33BD #BD5A33 #51BD33 #3396BD
split-complementary
#9F33BD #96BD33 #33BD5A
monochromatic
#4E195D #76268D #9F33BD #B95BD3 #CD8BE0

Accessibility & contrast

On white

5.70
#9F33BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9F33BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F33BD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F33BD#FFFFFF#000000##FFFFFF
##9F33BD1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#386ABA
Tritanopia (blue-blind)
#9E4F75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f33bd;
/* rgb */ color: rgb(159, 51, 189);
/* oklch */ color: oklch(54.0% 0.215 317.8);
Tailwind
colors: {
  custom: {
    50: '#bf75d2',
    500: '#9f33bd',
    950: '#000000',
  },
}
SCSS
$custom: #9f33bd;
$custom-light: #bf75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f33bd",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 189
  },
  "hsl": {
    "h": 286.957,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5397,
    "c": 0.21486,
    "h": 317.8
  },
  "luminance": 0.13413
}

Semantic roles & 50–950 ramp

primary
#9F33BD
secondary
#92CA82
accent
#E14768
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F33BD

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

Preview Lab → · Contrast checker → · Palette generator →

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