#9F32C2#9F32C2

#9F32C2 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.220 H 316.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9F32C2
RGBrgb(159, 50, 194)
HSLhsl(285, 59%, 48%)
HSVhsv(285, 74%, 76%)
CMYKcmyk(18%, 74.2%, 0%, 23.9%)
CIE-LABlab(43.58, 64.30, -53.93)
CIE-LCHlch(43.58, 83.92, 320.01°)
OKLaboklab(54.21% 0.1596 -0.1519)
OKLCHoklch(54.21% 0.22 316.4)
XYZxyz(25.1748, 13.5482, 52.3174)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F32C2 #55C232
analogous
#5732C2 #9F32C2 #C2329D
triadic
#9F32C2 #C29F32 #32C29F
tetradic
#9F32C2 #C25732 #55C232 #329DC2
square
#9F32C2 #C25732 #55C232 #329DC2
split-complementary
#9F32C2 #9DC232 #32C257
monochromatic
#4F1961 #772591 #9F32C2 #B85CD5 #CD8DE2

Accessibility & contrast

On white

5.66
#9F32C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9F32C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F32C2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F32C2#FFFFFF#000000##FFFFFF
##9F32C21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f32c2;
/* rgb */ color: rgb(159, 50, 194);
/* oklch */ color: oklch(54.2% 0.220 316.4);
Tailwind
colors: {
  custom: {
    50: '#c075d5',
    500: '#9f32c2',
    950: '#000000',
  },
}
SCSS
$custom: #9f32c2;
$custom-light: #c075d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f32c2",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 285.417,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54214,
    "c": 0.22033,
    "h": 316.4
  },
  "luminance": 0.13547
}

Semantic roles & 50–950 ramp

primary
#9F32C2
secondary
#95CC84
accent
#E2466C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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