#9D34CC#9D34CC

#9D34CC is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.226 H 312.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9D34CC
RGBrgb(157, 52, 204)
HSLhsl(281, 60%, 50%)
HSVhsv(281, 75%, 80%)
CMYKcmyk(23%, 74.5%, 0%, 20%)
CIE-LABlab(44.21, 65.17, -58.73)
CIE-LCHlch(44.21, 87.73, 317.98°)
OKLaboklab(54.82% 0.1539 -0.166)
OKLCHoklch(54.82% 0.226 312.8)
XYZxyz(26.0297, 13.9845, 58.4431)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D34CC #63CC34
analogous
#5134CC #9D34CC #CC34AF
triadic
#9D34CC #CC9D34 #34CC9D
tetradic
#9D34CC #CC5134 #63CC34 #34AFCC
square
#9D34CC #CC5134 #63CC34 #34AFCC
split-complementary
#9D34CC #AFCC34 #34CC51
monochromatic
#521B6B #78279C #9D34CC #B565D8 #CC96E5

Accessibility & contrast

On white

5.53
#9D34CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9D34CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D34CC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D34CC#FFFFFF#000000##FFFFFF
##9D34CC1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#226BC9
Tritanopia (blue-blind)
#98577E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d34cc;
/* rgb */ color: rgb(157, 52, 204);
/* oklch */ color: oklch(54.8% 0.226 312.8);
Tailwind
colors: {
  custom: {
    50: '#bf76dc',
    500: '#9d34cc',
    950: '#000000',
  },
}
SCSS
$custom: #9d34cc;
$custom-light: #bf76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d34cc",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 281.447,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54816,
    "c": 0.2264,
    "h": 312.8
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

primary
#9D34CC
secondary
#A1D08C
accent
#E34576
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D34CC

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

Preview Lab → · Contrast checker → · Palette generator →

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