#9F34B4#9F34B4

#9F34B4 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.206 H 320.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9F34B4
RGBrgb(159, 52, 180)
HSLhsl(290, 55%, 45%)
HSVhsv(290, 71%, 71%)
CMYKcmyk(11.7%, 71.1%, 0%, 29.4%)
CIE-LABlab(42.95, 60.90, -46.73)
CIE-LCHlch(42.95, 76.76, 322.50°)
OKLaboklab(53.48% 0.159 -0.1308)
OKLCHoklch(53.48% 0.206 320.6)
XYZxyz(23.7633, 13.1234, 44.4525)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34B4 #49B434
analogous
#5F34B4 #9F34B4 #B43489
triadic
#9F34B4 #B49F34 #34B49F
tetradic
#9F34B4 #B45F34 #49B434 #3489B4
square
#9F34B4 #B45F34 #49B434 #3489B4
split-complementary
#9F34B4 #89B434 #34B45F
monochromatic
#4B1955 #752685 #9F34B4 #BB57CE #CE86DC

Accessibility & contrast

On white

5.79
#9F34B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F34B4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34B4#FFFFFF#000000##FFFFFF
##9F34B41.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#4169B1
Tritanopia (blue-blind)
#A04C71
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f34b4;
/* rgb */ color: rgb(159, 52, 180);
/* oklch */ color: oklch(53.5% 0.206 320.6);
Tailwind
colors: {
  custom: {
    50: '#bf75cb',
    500: '#9f34b4',
    950: '#000000',
  },
}
SCSS
$custom: #9f34b4;
$custom-light: #bf75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34b4",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 290.156,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53483,
    "c": 0.20587,
    "h": 320.6
  },
  "luminance": 0.13122
}

Semantic roles & 50–950 ramp

primary
#9F34B4
secondary
#8AC67E
accent
#DF4962
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F34B4

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

Preview Lab → · Contrast checker → · Palette generator →

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