#9A34AA#9A34AA

#9A34AA is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.195 H 321.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9A34AA
RGBrgb(154, 52, 170)
HSLhsl(292, 53%, 44%)
HSVhsv(292, 69%, 67%)
CMYKcmyk(9.4%, 69.4%, 0%, 33.3%)
CIE-LABlab(41.58, 57.92, -43.05)
CIE-LCHlch(41.58, 72.17, 323.38°)
OKLaboklab(52.15% 0.1535 -0.1202)
OKLCHoklch(52.15% 0.195 321.9)
XYZxyz(21.8093, 12.2295, 39.2342)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A34AA #44AA34
analogous
#5F34AA #9A34AA #AA347F
triadic
#9A34AA #AA9A34 #34AA9A
tetradic
#9A34AA #AA5F34 #44AA34 #347FAA
square
#9A34AA #AA5F34 #44AA34 #347FAA
split-complementary
#9A34AA #7FAA34 #34AA5F
monochromatic
#45174C #70267B #9A34AA #BA51CA #CC80D8

Accessibility & contrast

On white

6.09
#9A34AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9A34AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A34AA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A34AA#FFFFFF#000000##FFFFFF
##9A34AA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5BAD
Deuteranopia (green-blind)
#4366A7
Tritanopia (blue-blind)
#9C496B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a34aa;
/* rgb */ color: rgb(154, 52, 170);
/* oklch */ color: oklch(52.2% 0.195 321.9);
Tailwind
colors: {
  custom: {
    50: '#bb74c4',
    500: '#9a34aa',
    950: '#000000',
  },
}
SCSS
$custom: #9a34aa;
$custom-light: #bb74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a34aa",
  "rgb": {
    "r": 154,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 291.864,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52155,
    "c": 0.19494,
    "h": 321.9
  },
  "luminance": 0.12228
}

Semantic roles & 50–950 ramp

primary
#9A34AA
secondary
#82C178
accent
#DD4B5F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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