#9C34CD#9C34CD

#9C34CD is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.227 H 312.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9C34CD
RGBrgb(156, 52, 205)
HSLhsl(281, 60%, 50%)
HSVhsv(281, 75%, 80%)
CMYKcmyk(23.9%, 74.6%, 0%, 19.6%)
CIE-LABlab(44.14, 65.18, -59.43)
CIE-LCHlch(44.14, 88.21, 317.64°)
OKLaboklab(54.76% 0.1525 -0.1681)
OKLCHoklch(54.76% 0.227 312.2)
XYZxyz(25.9557, 13.9324, 59.0677)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C34CD #65CD34
analogous
#4F34CD #9C34CD #CD34B2
triadic
#9C34CD #CD9C34 #34CD9C
tetradic
#9C34CD #CD4F34 #65CD34 #34B2CD
square
#9C34CD #CD4F34 #65CD34 #34B2CD
split-complementary
#9C34CD #B2CD34 #34CD4F
monochromatic
#521B6C #77279D #9C34CD #B465D9 #CC96E5

Accessibility & contrast

On white

5.55
#9C34CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9C34CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C34CD
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C34CD#FFFFFF#000000##FFFFFF
##9C34CD1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#1D6ACA
Tritanopia (blue-blind)
#96577F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9c34cd;
/* rgb */ color: rgb(156, 52, 205);
/* oklch */ color: oklch(54.8% 0.227 312.2);
Tailwind
colors: {
  custom: {
    50: '#be76dd',
    500: '#9c34cd',
    950: '#000000',
  },
}
SCSS
$custom: #9c34cd;
$custom-light: #be76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c34cd",
  "rgb": {
    "r": 156,
    "g": 52,
    "b": 205
  },
  "hsl": {
    "h": 280.784,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54755,
    "c": 0.22699,
    "h": 312.2
  },
  "luminance": 0.13932
}

Semantic roles & 50–950 ramp

primary
#9C34CD
secondary
#A2D18C
accent
#E44477
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C34CD

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

Preview Lab → · Contrast checker → · Palette generator →

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