#9F33B3#9F33B3

#9F33B3 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.206 H 320.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9F33B3
RGBrgb(159, 51, 179)
HSLhsl(291, 56%, 45%)
HSVhsv(291, 72%, 70%)
CMYKcmyk(11.2%, 71.5%, 0%, 29.8%)
CIE-LABlab(42.76, 61.09, -46.45)
CIE-LCHlch(42.76, 76.74, 322.75°)
OKLaboklab(53.33% 0.1601 -0.13)
OKLCHoklch(53.33% 0.206 320.9)
XYZxyz(23.6176, 12.9945, 43.9033)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F33B3 #47B333
analogous
#5F33B3 #9F33B3 #B33387
triadic
#9F33B3 #B39F33 #33B39F
tetradic
#9F33B3 #B35F33 #47B333 #3387B3
square
#9F33B3 #B35F33 #47B333 #3387B3
split-complementary
#9F33B3 #87B333 #33B35F
monochromatic
#4A1854 #752583 #9F33B3 #BB55CE #CE84DC

Accessibility & contrast

On white

5.84
#9F33B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9F33B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F33B3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F33B3#FFFFFF#000000##FFFFFF
##9F33B31.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#4169B0
Tritanopia (blue-blind)
#A04B70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f33b3;
/* rgb */ color: rgb(159, 51, 179);
/* oklch */ color: oklch(53.3% 0.206 320.9);
Tailwind
colors: {
  custom: {
    50: '#bf75ca',
    500: '#9f33b3',
    950: '#000000',
  },
}
SCSS
$custom: #9f33b3;
$custom-light: #bf75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f33b3",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 290.625,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53325,
    "c": 0.20618,
    "h": 320.9
  },
  "luminance": 0.12993
}

Semantic roles & 50–950 ramp

primary
#9F33B3
secondary
#88C67C
accent
#DF4960
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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