#9F34AD#9F34AD

#9F34AD is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.0% C 0.200 H 322.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9F34AD
RGBrgb(159, 52, 173)
HSLhsl(293, 54%, 44%)
HSVhsv(293, 70%, 68%)
CMYKcmyk(8.1%, 69.9%, 0%, 32.2%)
CIE-LABlab(42.53, 59.60, -43.27)
CIE-LCHlch(42.53, 73.65, 324.02°)
OKLaboklab(53.05% 0.1593 -0.1207)
OKLCHoklch(53.05% 0.2 322.9)
XYZxyz(23.0682, 12.8454, 40.7914)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34AD #42AD34
analogous
#6334AD #9F34AD #AD347F
triadic
#9F34AD #AD9F34 #34AD9F
tetradic
#9F34AD #AD6334 #42AD34 #347FAD
square
#9F34AD #AD6334 #42AD34 #347FAD
split-complementary
#9F34AD #7FAD34 #34AD63
monochromatic
#49184F #74267E #9F34AD #BD53CB #CF82D9

Accessibility & contrast

On white

5.88
#9F34AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9F34AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F34AD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34AD#FFFFFF#000000##FFFFFF
##9F34AD1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5CB0
Deuteranopia (green-blind)
#4669AA
Tritanopia (blue-blind)
#A1496D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f34ad;
/* rgb */ color: rgb(159, 52, 173);
/* oklch */ color: oklch(53.0% 0.200 322.9);
Tailwind
colors: {
  custom: {
    50: '#bf75c6',
    500: '#9f34ad',
    950: '#000000',
  },
}
SCSS
$custom: #9f34ad;
$custom-light: #bf75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34ad",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 293.058,
    "s": 53.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53048,
    "c": 0.19982,
    "h": 322.9
  },
  "luminance": 0.12844
}

Semantic roles & 50–950 ramp

primary
#9F34AD
secondary
#82C37A
accent
#DD4B5C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F34AD

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

Preview Lab → · Contrast checker → · Palette generator →

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