#9F34B0#9F34B0

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

Color values

HEX#9F34B0
RGBrgb(159, 52, 176)
HSLhsl(292, 54%, 45%)
HSVhsv(292, 70%, 69%)
CMYKcmyk(9.7%, 70.5%, 0%, 31%)
CIE-LABlab(42.71, 60.15, -44.76)
CIE-LCHlch(42.71, 74.98, 323.35°)
OKLaboklab(53.23% 0.1592 -0.125)
OKLCHoklch(53.23% 0.202 321.9)
XYZxyz(23.3617, 12.9628, 42.3374)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34B0 #45B034
analogous
#6134B0 #9F34B0 #B03483
triadic
#9F34B0 #B09F34 #34B09F
tetradic
#9F34B0 #B06134 #45B034 #3483B0
square
#9F34B0 #B06134 #45B034 #3483B0
split-complementary
#9F34B0 #83B034 #34B061
monochromatic
#4A1852 #742681 #9F34B0 #BC55CD #CF84DB

Accessibility & contrast

On white

5.85
#9F34B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9F34B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F34B0
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34B0#FFFFFF#000000##FFFFFF
##9F34B01.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#4469AD
Tritanopia (blue-blind)
#A14A6E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f34b0;
/* rgb */ color: rgb(159, 52, 176);
/* oklch */ color: oklch(53.2% 0.202 321.9);
Tailwind
colors: {
  custom: {
    50: '#bf75c8',
    500: '#9f34b0',
    950: '#000000',
  },
}
SCSS
$custom: #9f34b0;
$custom-light: #bf75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34b0",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 176
  },
  "hsl": {
    "h": 291.774,
    "s": 54.386,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53232,
    "c": 0.20241,
    "h": 321.9
  },
  "luminance": 0.12962
}

Semantic roles & 50–950 ramp

primary
#9F34B0
secondary
#86C47C
accent
#DE4A5E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F34B0

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

Preview Lab → · Contrast checker → · Palette generator →

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