#9F33B2#9F33B2

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

Color values

HEX#9F33B2
RGBrgb(159, 51, 178)
HSLhsl(291, 55%, 45%)
HSVhsv(291, 71%, 70%)
CMYKcmyk(10.7%, 71.3%, 0%, 30.2%)
CIE-LABlab(42.69, 60.90, -45.96)
CIE-LCHlch(42.69, 76.30, 322.96°)
OKLaboklab(53.26% 0.1601 -0.1285)
OKLCHoklch(53.26% 0.205 321.2)
XYZxyz(23.5169, 12.9542, 43.3725)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F33B2 #46B233
analogous
#6033B2 #9F33B2 #B23385
triadic
#9F33B2 #B29F33 #33B29F
tetradic
#9F33B2 #B26033 #46B233 #3385B2
square
#9F33B2 #B26033 #46B233 #3385B2
split-complementary
#9F33B2 #85B233 #33B260
monochromatic
#4A1853 #752582 #9F33B2 #BC54CE #CF84DC

Accessibility & contrast

On white

5.85
#9F33B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9F33B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F33B2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F33B2#FFFFFF#000000##FFFFFF
##9F33B21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#A04A6F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f33b2;
/* rgb */ color: rgb(159, 51, 178);
/* oklch */ color: oklch(53.3% 0.205 321.2);
Tailwind
colors: {
  custom: {
    50: '#bf75ca',
    500: '#9f33b2',
    950: '#000000',
  },
}
SCSS
$custom: #9f33b2;
$custom-light: #bf75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f33b2",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 291.024,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53262,
    "c": 0.20532,
    "h": 321.2
  },
  "luminance": 0.12953
}

Semantic roles & 50–950 ramp

primary
#9F33B2
secondary
#87C57C
accent
#DF495F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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