#9F34B3#9F34B3

#9F34B3 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.4% C 0.205 H 320.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9F34B3
RGBrgb(159, 52, 179)
HSLhsl(291, 55%, 45%)
HSVhsv(291, 71%, 70%)
CMYKcmyk(11.2%, 70.9%, 0%, 29.8%)
CIE-LABlab(42.89, 60.71, -46.24)
CIE-LCHlch(42.89, 76.32, 322.71°)
OKLaboklab(53.42% 0.159 -0.1293)
OKLCHoklch(53.42% 0.205 320.9)
XYZxyz(23.6618, 13.0828, 43.9180)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34B3 #48B334
analogous
#5F34B3 #9F34B3 #B33487
triadic
#9F34B3 #B39F34 #34B39F
tetradic
#9F34B3 #B35F34 #48B334 #3487B3
square
#9F34B3 #B35F34 #48B334 #3487B3
split-complementary
#9F34B3 #87B334 #34B35F
monochromatic
#4B1854 #752684 #9F34B3 #BB56CE #CE86DC

Accessibility & contrast

On white

5.81
#9F34B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9F34B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F34B3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34B3#FFFFFF#000000##FFFFFF
##9F34B31.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#4269B0
Tritanopia (blue-blind)
#A04C70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f34b3;
/* rgb */ color: rgb(159, 52, 179);
/* oklch */ color: oklch(53.4% 0.205 320.9);
Tailwind
colors: {
  custom: {
    50: '#bf75ca',
    500: '#9f34b3',
    950: '#000000',
  },
}
SCSS
$custom: #9f34b3;
$custom-light: #bf75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34b3",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 290.551,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5342,
    "c": 0.205,
    "h": 320.9
  },
  "luminance": 0.13082
}

Semantic roles & 50–950 ramp

primary
#9F34B3
secondary
#89C57D
accent
#DE4961
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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