#9F34BA#9F34BA

#9F34BA is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.211 H 318.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9F34BA
RGBrgb(159, 52, 186)
HSLhsl(288, 56%, 47%)
HSVhsv(288, 72%, 73%)
CMYKcmyk(14.5%, 72%, 0%, 27.1%)
CIE-LABlab(43.32, 62.03, -49.66)
CIE-LCHlch(43.32, 79.46, 321.32°)
OKLaboklab(53.87% 0.1586 -0.1394)
OKLCHoklch(53.87% 0.211 318.7)
XYZxyz(24.3878, 13.3732, 47.7415)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34BA #4FBA34
analogous
#5C34BA #9F34BA #BA3492
triadic
#9F34BA #BA9F34 #34BA9F
tetradic
#9F34BA #BA5C34 #4FBA34 #3492BA
square
#9F34BA #BA5C34 #4FBA34 #3492BA
split-complementary
#9F34BA #92BA34 #34BA5C
monochromatic
#4D195A #76278A #9F34BA #B95AD1 #CD8ADE

Accessibility & contrast

On white

5.72
#9F34BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9F34BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F34BA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34BA#FFFFFF#000000##FFFFFF
##9F34BA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#3C6AB7
Tritanopia (blue-blind)
#9F4F74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f34ba;
/* rgb */ color: rgb(159, 52, 186);
/* oklch */ color: oklch(53.9% 0.211 318.7);
Tailwind
colors: {
  custom: {
    50: '#bf76cf',
    500: '#9f34ba',
    950: '#000000',
  },
}
SCSS
$custom: #9f34ba;
$custom-light: #bf76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34ba",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 287.91,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53867,
    "c": 0.21111,
    "h": 318.7
  },
  "luminance": 0.13372
}

Semantic roles & 50–950 ramp

primary
#9F34BA
secondary
#90C881
accent
#E04867
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F34BA

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

Preview Lab → · Contrast checker → · Palette generator →

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