#9F34BC#9F34BC

#9F34BC is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.213 H 318.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9F34BC
RGBrgb(159, 52, 188)
HSLhsl(287, 57%, 47%)
HSVhsv(287, 72%, 74%)
CMYKcmyk(15.4%, 72.3%, 0%, 26.3%)
CIE-LABlab(43.45, 62.41, -50.63)
CIE-LCHlch(43.45, 80.37, 320.95°)
OKLaboklab(54% 0.1584 -0.1422)
OKLCHoklch(54% 0.213 318.1)
XYZxyz(24.6019, 13.4589, 48.8691)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34BC #51BC34
analogous
#5B34BC #9F34BC #BC3495
triadic
#9F34BC #BC9F34 #34BC9F
tetradic
#9F34BC #BC5B34 #51BC34 #3495BC
square
#9F34BC #BC5B34 #51BC34 #3495BC
split-complementary
#9F34BC #95BC34 #34BC5B
monochromatic
#4E195C #76278C #9F34BC #B95BD2 #CD8BDF

Accessibility & contrast

On white

5.69
#9F34BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9F34BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F34BC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34BC#FFFFFF#000000##FFFFFF
##9F34BC1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#9E4F75
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f34bc;
/* rgb */ color: rgb(159, 52, 188);
/* oklch */ color: oklch(54.0% 0.213 318.1);
Tailwind
colors: {
  custom: {
    50: '#bf76d1',
    500: '#9f34bc',
    950: '#000000',
  },
}
SCSS
$custom: #9f34bc;
$custom-light: #bf76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34bc",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 287.206,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53997,
    "c": 0.21286,
    "h": 318.1
  },
  "luminance": 0.13458
}

Semantic roles & 50–950 ramp

primary
#9F34BC
secondary
#92C983
accent
#E04868
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F34BC

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

Preview Lab → · Contrast checker → · Palette generator →

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