#9F33C2#9F33C2

#9F33C2 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.219 H 316.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9F33C2
RGBrgb(159, 51, 194)
HSLhsl(285, 58%, 48%)
HSVhsv(285, 74%, 76%)
CMYKcmyk(18%, 73.7%, 0%, 23.9%)
CIE-LABlab(43.70, 63.94, -53.72)
CIE-LCHlch(43.70, 83.52, 319.96°)
OKLaboklab(54.3% 0.1587 -0.1513)
OKLCHoklch(54.3% 0.219 316.4)
XYZxyz(25.2180, 13.6346, 52.3319)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F33C2 #56C233
analogous
#5833C2 #9F33C2 #C2339D
triadic
#9F33C2 #C29F33 #33C29F
tetradic
#9F33C2 #C25833 #56C233 #339DC2
square
#9F33C2 #C25833 #56C233 #339DC2
split-complementary
#9F33C2 #9DC233 #33C258
monochromatic
#501A61 #772692 #9F33C2 #B75ED5 #CD8EE1

Accessibility & contrast

On white

5.63
#9F33C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9F33C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F33C2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F33C2#FFFFFF#000000##FFFFFF
##9F33C21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#336ABF
Tritanopia (blue-blind)
#9D5178
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f33c2;
/* rgb */ color: rgb(159, 51, 194);
/* oklch */ color: oklch(54.3% 0.219 316.4);
Tailwind
colors: {
  custom: {
    50: '#c075d5',
    500: '#9f33c2',
    950: '#000000',
  },
}
SCSS
$custom: #9f33c2;
$custom-light: #c075d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f33c2",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 285.315,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54304,
    "c": 0.21925,
    "h": 316.4
  },
  "luminance": 0.13634
}

Semantic roles & 50–950 ramp

primary
#9F33C2
secondary
#96CC85
accent
#E2466C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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