#9F34BF#9F34BF

#9F34BF is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.216 H 317.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9F34BF
RGBrgb(159, 52, 191)
HSLhsl(286, 57%, 48%)
HSVhsv(286, 73%, 75%)
CMYKcmyk(16.8%, 72.8%, 0%, 25.1%)
CIE-LABlab(43.64, 62.99, -52.08)
CIE-LCHlch(43.64, 81.73, 320.42°)
OKLaboklab(54.2% 0.1581 -0.1464)
OKLCHoklch(54.2% 0.216 317.2)
XYZxyz(24.9287, 13.5896, 50.5900)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34BF #54BF34
analogous
#5934BF #9F34BF #BF349A
triadic
#9F34BF #BF9F34 #34BF9F
tetradic
#9F34BF #BF5934 #54BF34 #349ABF
square
#9F34BF #BF5934 #54BF34 #349ABF
split-complementary
#9F34BF #9ABF34 #34BF59
monochromatic
#4F1A5F #77278F #9F34BF #B85DD3 #CD8DE0

Accessibility & contrast

On white

5.65
#9F34BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9F34BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F34BF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34BF#FFFFFF#000000##FFFFFF
##9F34BF1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#376ABC
Tritanopia (blue-blind)
#9D5177
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f34bf;
/* rgb */ color: rgb(159, 52, 191);
/* oklch */ color: oklch(54.2% 0.216 317.2);
Tailwind
colors: {
  custom: {
    50: '#bf76d3',
    500: '#9f34bf',
    950: '#000000',
  },
}
SCSS
$custom: #9f34bf;
$custom-light: #bf76d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34bf",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 286.187,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54195,
    "c": 0.21551,
    "h": 317.2
  },
  "luminance": 0.13588
}

Semantic roles & 50–950 ramp

primary
#9F34BF
secondary
#94CA84
accent
#E0476B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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