#9F34AC#9F34AC

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

Color values

HEX#9F34AC
RGBrgb(159, 52, 172)
HSLhsl(294, 54%, 44%)
HSVhsv(294, 70%, 67%)
CMYKcmyk(7.6%, 69.8%, 0%, 32.5%)
CIE-LABlab(42.47, 59.42, -42.77)
CIE-LCHlch(42.47, 73.21, 324.26°)
OKLaboklab(52.99% 0.1593 -0.1192)
OKLCHoklch(52.99% 0.199 323.2)
XYZxyz(22.9718, 12.8068, 40.2837)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34AC #41AC34
analogous
#6334AC #9F34AC #AC347D
triadic
#9F34AC #AC9F34 #34AC9F
tetradic
#9F34AC #AC6334 #41AC34 #347DAC
square
#9F34AC #AC6334 #41AC34 #347DAC
split-complementary
#9F34AC #7DAC34 #34AC63
monochromatic
#48184E #74267D #9F34AC #BE52CB #D081D9

Accessibility & contrast

On white

5.90
#9F34AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9F34AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F34AC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34AC#FFFFFF#000000##FFFFFF
##9F34AC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5CAF
Deuteranopia (green-blind)
#4768A9
Tritanopia (blue-blind)
#A2486C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f34ac;
/* rgb */ color: rgb(159, 52, 172);
/* oklch */ color: oklch(53.0% 0.199 323.2);
Tailwind
colors: {
  custom: {
    50: '#bf75c5',
    500: '#9f34ac',
    950: '#000000',
  },
}
SCSS
$custom: #9f34ac;
$custom-light: #bf75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34ac",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 293.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.19897,
    "h": 323.2
  },
  "luminance": 0.12805
}

Semantic roles & 50–950 ramp

primary
#9F34AC
secondary
#81C279
accent
#DD4B5B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F34AC

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

Preview Lab → · Contrast checker → · Palette generator →

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