#9A34AE#9A34AE

#9A34AE is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.198 H 320.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9A34AE
RGBrgb(154, 52, 174)
HSLhsl(290, 54%, 44%)
HSVhsv(290, 70%, 68%)
CMYKcmyk(11.5%, 70.1%, 0%, 31.8%)
CIE-LABlab(41.82, 58.67, -45.04)
CIE-LCHlch(41.82, 73.97, 322.49°)
OKLaboklab(52.4% 0.1533 -0.126)
OKLCHoklch(52.4% 0.198 320.6)
XYZxyz(22.1935, 12.3831, 41.2574)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A34AE #48AE34
analogous
#5D34AE #9A34AE #AE3485
triadic
#9A34AE #AE9A34 #34AE9A
tetradic
#9A34AE #AE5D34 #48AE34 #3485AE
square
#9A34AE #AE5D34 #48AE34 #3485AE
split-complementary
#9A34AE #85AE34 #34AE5D
monochromatic
#471850 #70267F #9A34AE #B853CC #CC83DA

Accessibility & contrast

On white

6.04
#9A34AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9A34AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A34AE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A34AE#FFFFFF#000000##FFFFFF
##9A34AE1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#4066AB
Tritanopia (blue-blind)
#9B4A6D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a34ae;
/* rgb */ color: rgb(154, 52, 174);
/* oklch */ color: oklch(52.4% 0.198 320.6);
Tailwind
colors: {
  custom: {
    50: '#bb75c7',
    500: '#9a34ae',
    950: '#000000',
  },
}
SCSS
$custom: #9a34ae;
$custom-light: #bb75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a34ae",
  "rgb": {
    "r": 154,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 290.164,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52404,
    "c": 0.19846,
    "h": 320.6
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#9A34AE
secondary
#86C37B
accent
#DD4A63
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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