#9F32CC#9F32CC

#9F32CC is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.9% C 0.229 H 313.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9F32CC
RGBrgb(159, 50, 204)
HSLhsl(282, 61%, 50%)
HSVhsv(282, 75%, 80%)
CMYKcmyk(22.1%, 75.5%, 0%, 20%)
CIE-LABlab(44.25, 66.26, -58.65)
CIE-LCHlch(44.25, 88.49, 318.49°)
OKLaboklab(54.9% 0.1582 -0.1657)
OKLCHoklch(54.9% 0.229 313.7)
XYZxyz(26.3359, 14.0126, 58.4324)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F32CC #5FCC32
analogous
#5232CC #9F32CC #CC32AC
triadic
#9F32CC #CC9F32 #32CC9F
tetradic
#9F32CC #CC5232 #5FCC32 #32ACCC
square
#9F32CC #CC5232 #5FCC32 #32ACCC
split-complementary
#9F32CC #ACCC32 #32CC52
monochromatic
#521A6A #79269B #9F32CC #B663D9 #CD94E5

Accessibility & contrast

On white

5.52
#9F32CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9F32CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F32CC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F32CC#FFFFFF#000000##FFFFFF
##9F32CC1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#236BC9
Tritanopia (blue-blind)
#9A557E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f32cc;
/* rgb */ color: rgb(159, 50, 204);
/* oklch */ color: oklch(54.9% 0.229 313.7);
Tailwind
colors: {
  custom: {
    50: '#c075dc',
    500: '#9f32cc',
    950: '#000000',
  },
}
SCSS
$custom: #9f32cc;
$custom-light: #c075dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f32cc",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 204
  },
  "hsl": {
    "h": 282.468,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54904,
    "c": 0.22911,
    "h": 313.7
  },
  "luminance": 0.14012
}

Semantic roles & 50–950 ramp

primary
#9F32CC
secondary
#9ED08A
accent
#E44473
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F32CC

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

Preview Lab → · Contrast checker → · Palette generator →

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