#9D34BF#9D34BF

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

Color values

HEX#9D34BF
RGBrgb(157, 52, 191)
HSLhsl(285, 57%, 48%)
HSVhsv(285, 73%, 75%)
CMYKcmyk(17.8%, 72.8%, 0%, 25.1%)
CIE-LABlab(43.34, 62.58, -52.58)
CIE-LCHlch(43.34, 81.74, 319.97°)
OKLaboklab(53.92% 0.1557 -0.148)
OKLCHoklch(53.92% 0.215 316.5)
XYZxyz(24.5352, 13.3867, 50.5716)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D34BF #56BF34
analogous
#5834BF #9D34BF #BF349B
triadic
#9D34BF #BF9D34 #34BF9D
tetradic
#9D34BF #BF5834 #56BF34 #349BBF
square
#9D34BF #BF5834 #56BF34 #349BBF
split-complementary
#9D34BF #9BBF34 #34BF58
monochromatic
#4E1A5F #75278F #9D34BF #B65DD3 #CC8DE0

Accessibility & contrast

On white

5.71
#9D34BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D34BF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D34BF#FFFFFF#000000##FFFFFF
##9D34BF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#3469BC
Tritanopia (blue-blind)
#9B5177
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d34bf;
/* rgb */ color: rgb(157, 52, 191);
/* oklch */ color: oklch(53.9% 0.215 316.5);
Tailwind
colors: {
  custom: {
    50: '#be76d3',
    500: '#9d34bf',
    950: '#000000',
  },
}
SCSS
$custom: #9d34bf;
$custom-light: #be76d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d34bf",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 285.324,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53923,
    "c": 0.21476,
    "h": 316.5
  },
  "luminance": 0.13386
}

Semantic roles & 50–950 ramp

primary
#9D34BF
secondary
#95CA84
accent
#E0476D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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