#9D34B3#9D34B3

#9D34B3 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.1% C 0.204 H 320.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9D34B3
RGBrgb(157, 52, 179)
HSLhsl(290, 55%, 45%)
HSVhsv(290, 71%, 70%)
CMYKcmyk(12.3%, 70.9%, 0%, 29.8%)
CIE-LABlab(42.58, 60.28, -46.75)
CIE-LCHlch(42.58, 76.28, 322.20°)
OKLaboklab(53.14% 0.1567 -0.1309)
OKLCHoklch(53.14% 0.204 320.1)
XYZxyz(23.2683, 12.8799, 43.8995)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D34B3 #4AB334
analogous
#5D34B3 #9D34B3 #B3348A
triadic
#9D34B3 #B39D34 #34B39D
tetradic
#9D34B3 #B35D34 #4AB334 #348AB3
square
#9D34B3 #B35D34 #4AB334 #348AB3
split-complementary
#9D34B3 #8AB334 #34B35D
monochromatic
#4A1854 #732684 #9D34B3 #B956CE #CD86DC

Accessibility & contrast

On white

5.87
#9D34B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9D34B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D34B3
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D34B3#FFFFFF#000000##FFFFFF
##9D34B31.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#4068B0
Tritanopia (blue-blind)
#9E4C70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d34b3;
/* rgb */ color: rgb(157, 52, 179);
/* oklch */ color: oklch(53.1% 0.204 320.1);
Tailwind
colors: {
  custom: {
    50: '#be75ca',
    500: '#9d34b3',
    950: '#000000',
  },
}
SCSS
$custom: #9d34b3;
$custom-light: #be75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d34b3",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 289.606,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5314,
    "c": 0.20415,
    "h": 320.1
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#9D34B3
secondary
#8AC57D
accent
#DE4963
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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