#9F34AF#9F34AF

#9F34AF is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.202 H 322.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9F34AF
RGBrgb(159, 52, 175)
HSLhsl(292, 54%, 45%)
HSVhsv(292, 70%, 69%)
CMYKcmyk(9.1%, 70.3%, 0%, 31.4%)
CIE-LABlab(42.65, 59.97, -44.26)
CIE-LCHlch(42.65, 74.54, 323.57°)
OKLaboklab(53.17% 0.1592 -0.1236)
OKLCHoklch(53.17% 0.202 322.2)
XYZxyz(23.2631, 12.9233, 41.8183)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34AF #44AF34
analogous
#6234AF #9F34AF #AF3482
triadic
#9F34AF #AF9F34 #34AF9F
tetradic
#9F34AF #AF6234 #44AF34 #3482AF
square
#9F34AF #AF6234 #44AF34 #3482AF
split-complementary
#9F34AF #82AF34 #34AF62
monochromatic
#491851 #742680 #9F34AF #BD54CC #CF83DA

Accessibility & contrast

On white

5.86
#9F34AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9F34AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F34AF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34AF#FFFFFF#000000##FFFFFF
##9F34AF1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045DB2
Deuteranopia (green-blind)
#4569AC
Tritanopia (blue-blind)
#A14A6E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f34af;
/* rgb */ color: rgb(159, 52, 175);
/* oklch */ color: oklch(53.2% 0.202 322.2);
Tailwind
colors: {
  custom: {
    50: '#bf75c7',
    500: '#9f34af',
    950: '#000000',
  },
}
SCSS
$custom: #9f34af;
$custom-light: #bf75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34af",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 292.195,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53171,
    "c": 0.20155,
    "h": 322.2
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#9F34AF
secondary
#85C47B
accent
#DE4A5D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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