#9F33C4#9F33C4

#9F33C4 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.221 H 315.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9F33C4
RGBrgb(159, 51, 196)
HSLhsl(285, 59%, 48%)
HSVhsv(285, 74%, 77%)
CMYKcmyk(18.9%, 74%, 0%, 23.1%)
CIE-LABlab(43.84, 64.33, -54.68)
CIE-LCHlch(43.84, 84.43, 319.64°)
OKLaboklab(54.44% 0.1585 -0.1541)
OKLCHoklch(54.44% 0.221 315.8)
XYZxyz(25.4441, 13.7251, 53.5228)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F33C4 #58C433
analogous
#5733C4 #9F33C4 #C433A0
triadic
#9F33C4 #C49F33 #33C49F
tetradic
#9F33C4 #C45733 #58C433 #33A0C4
square
#9F33C4 #C45733 #58C433 #33A0C4
split-complementary
#9F33C4 #A0C433 #33C457
monochromatic
#501A63 #782693 #9F33C4 #B75FD5 #CD8FE2

Accessibility & contrast

On white

5.61
#9F33C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9F33C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F33C4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F33C4#FFFFFF#000000##FFFFFF
##9F33C41.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#306AC1
Tritanopia (blue-blind)
#9C5279
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f33c4;
/* rgb */ color: rgb(159, 51, 196);
/* oklch */ color: oklch(54.4% 0.221 315.8);
Tailwind
colors: {
  custom: {
    50: '#c076d7',
    500: '#9f33c4',
    950: '#000000',
  },
}
SCSS
$custom: #9f33c4;
$custom-light: #c076d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f33c4",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 196
  },
  "hsl": {
    "h": 284.69,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54439,
    "c": 0.22101,
    "h": 315.8
  },
  "luminance": 0.13724
}

Semantic roles & 50–950 ramp

primary
#9F33C4
secondary
#98CD86
accent
#E2466E
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F33C4

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

Preview Lab → · Contrast checker → · Palette generator →

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