#9D34BB#9D34BB

#9D34BB is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.211 H 317.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9D34BB
RGBrgb(157, 52, 187)
HSLhsl(287, 56%, 47%)
HSVhsv(287, 72%, 73%)
CMYKcmyk(16%, 72.2%, 0%, 26.7%)
CIE-LABlab(43.08, 61.81, -50.65)
CIE-LCHlch(43.08, 79.91, 320.67°)
OKLaboklab(53.66% 0.1561 -0.1423)
OKLCHoklch(53.66% 0.211 317.6)
XYZxyz(24.1010, 13.2130, 48.2849)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D34BB #52BB34
analogous
#5A34BB #9D34BB #BB3495
triadic
#9D34BB #BB9D34 #34BB9D
tetradic
#9D34BB #BB5A34 #52BB34 #3495BB
square
#9D34BB #BB5A34 #52BB34 #3495BB
split-complementary
#9D34BB #95BB34 #34BB5A
monochromatic
#4D195B #75278B #9D34BB #B75BD1 #CC8BDF

Accessibility & contrast

On white

5.77
#9D34BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9D34BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D34BB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D34BB#FFFFFF#000000##FFFFFF
##9D34BB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#3869B8
Tritanopia (blue-blind)
#9C4F75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d34bb;
/* rgb */ color: rgb(157, 52, 187);
/* oklch */ color: oklch(53.7% 0.211 317.6);
Tailwind
colors: {
  custom: {
    50: '#be75d0',
    500: '#9d34bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d34bb;
$custom-light: #be75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d34bb",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 286.667,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53657,
    "c": 0.21121,
    "h": 317.6
  },
  "luminance": 0.13212
}

Semantic roles & 50–950 ramp

primary
#9D34BB
secondary
#92C982
accent
#E0486A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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