#9A34BC#9A34BC

#9A34BC is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.211 H 316.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9A34BC
RGBrgb(154, 52, 188)
HSLhsl(285, 57%, 47%)
HSVhsv(285, 72%, 74%)
CMYKcmyk(18.1%, 72.3%, 0%, 26.3%)
CIE-LABlab(42.70, 61.38, -51.87)
CIE-LCHlch(42.70, 80.37, 319.80°)
OKLaboklab(53.32% 0.1523 -0.146)
OKLCHoklch(53.32% 0.211 316.2)
XYZxyz(23.6301, 12.9578, 48.8236)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A34BC #56BC34
analogous
#5634BC #9A34BC #BC349A
triadic
#9A34BC #BC9A34 #34BC9A
tetradic
#9A34BC #BC5634 #56BC34 #349ABC
square
#9A34BC #BC5634 #56BC34 #349ABC
split-complementary
#9A34BC #9ABC34 #34BC56
monochromatic
#4B195C #73278C #9A34BC #B45BD2 #CA8BDF

Accessibility & contrast

On white

5.85
#9A34BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9A34BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A34BC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A34BC#FFFFFF#000000##FFFFFF
##9A34BC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#3368B9
Tritanopia (blue-blind)
#985075
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a34bc;
/* rgb */ color: rgb(154, 52, 188);
/* oklch */ color: oklch(53.3% 0.211 316.2);
Tailwind
colors: {
  custom: {
    50: '#bc75d1',
    500: '#9a34bc',
    950: '#000000',
  },
}
SCSS
$custom: #9a34bc;
$custom-light: #bc75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a34bc",
  "rgb": {
    "r": 154,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 285,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53315,
    "c": 0.21096,
    "h": 316.2
  },
  "luminance": 0.12957
}

Semantic roles & 50–950 ramp

primary
#9A34BC
secondary
#94C983
accent
#E0486E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A34BC

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

Preview Lab → · Contrast checker → · Palette generator →

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