#9F34BB#9F34BB

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

Color values

HEX#9F34BB
RGBrgb(159, 52, 187)
HSLhsl(288, 56%, 47%)
HSVhsv(288, 72%, 73%)
CMYKcmyk(15%, 72.2%, 0%, 26.7%)
CIE-LABlab(43.38, 62.22, -50.15)
CIE-LCHlch(43.38, 79.92, 321.13°)
OKLaboklab(53.93% 0.1585 -0.1408)
OKLCHoklch(53.93% 0.212 318.4)
XYZxyz(24.4945, 13.4159, 48.3034)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34BB #50BB34
analogous
#5C34BB #9F34BB #BB3493
triadic
#9F34BB #BB9F34 #34BB9F
tetradic
#9F34BB #BB5C34 #50BB34 #3493BB
square
#9F34BB #BB5C34 #50BB34 #3493BB
split-complementary
#9F34BB #93BB34 #34BB5C
monochromatic
#4E195B #76278B #9F34BB #B95BD1 #CD8BDF

Accessibility & contrast

On white

5.70
#9F34BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9F34BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F34BB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34BB#FFFFFF#000000##FFFFFF
##9F34BB1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#3B6AB8
Tritanopia (blue-blind)
#9E4F75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f34bb;
/* rgb */ color: rgb(159, 52, 187);
/* oklch */ color: oklch(53.9% 0.212 318.4);
Tailwind
colors: {
  custom: {
    50: '#bf76d0',
    500: '#9f34bb',
    950: '#000000',
  },
}
SCSS
$custom: #9f34bb;
$custom-light: #bf76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34bb",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 287.556,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53932,
    "c": 0.21199,
    "h": 318.4
  },
  "luminance": 0.13415
}

Semantic roles & 50–950 ramp

primary
#9F34BB
secondary
#91C982
accent
#E04868
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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