#9F32CD#9F32CD

#9F32CD is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.230 H 313.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9F32CD
RGBrgb(159, 50, 205)
HSLhsl(282, 61%, 50%)
HSVhsv(282, 76%, 80%)
CMYKcmyk(22.4%, 75.6%, 0%, 19.6%)
CIE-LABlab(44.32, 66.46, -59.11)
CIE-LCHlch(44.32, 88.95, 318.35°)
OKLaboklab(54.97% 0.1581 -0.1671)
OKLCHoklch(54.97% 0.23 313.4)
XYZxyz(26.4562, 14.0608, 59.0661)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F32CD #60CD32
analogous
#5232CD #9F32CD #CD32AD
triadic
#9F32CD #CD9F32 #32CD9F
tetradic
#9F32CD #CD5232 #60CD32 #32ADCD
square
#9F32CD #CD5232 #60CD32 #32ADCD
split-complementary
#9F32CD #ADCD32 #32CD52
monochromatic
#531A6B #79269C #9F32CD #B663D9 #CD94E5

Accessibility & contrast

On white

5.51
#9F32CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9F32CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F32CD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F32CD#FFFFFF#000000##FFFFFF
##9F32CD1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#226BCA
Tritanopia (blue-blind)
#9A567E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f32cd;
/* rgb */ color: rgb(159, 50, 205);
/* oklch */ color: oklch(55.0% 0.230 313.4);
Tailwind
colors: {
  custom: {
    50: '#c075dd',
    500: '#9f32cd',
    950: '#000000',
  },
}
SCSS
$custom: #9f32cd;
$custom-light: #c075dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f32cd",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 205
  },
  "hsl": {
    "h": 282.194,
    "s": 60.784,
    "l": 50
  },
  "oklch": {
    "l": 0.54974,
    "c": 0.23,
    "h": 313.4
  },
  "luminance": 0.1406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F32CD

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

Preview Lab → · Contrast checker → · Palette generator →

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