#9A34AF#9A34AF

#9A34AF is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.5% C 0.199 H 320.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9A34AF
RGBrgb(154, 52, 175)
HSLhsl(290, 54%, 45%)
HSVhsv(290, 70%, 69%)
CMYKcmyk(12%, 70.3%, 0%, 31.4%)
CIE-LABlab(41.88, 58.86, -45.53)
CIE-LCHlch(41.88, 74.42, 322.28°)
OKLaboklab(52.47% 0.1533 -0.1274)
OKLCHoklch(52.47% 0.199 320.3)
XYZxyz(22.2913, 12.4223, 41.7727)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A34AF #49AF34
analogous
#5D34AF #9A34AF #AF3487
triadic
#9A34AF #AF9A34 #34AF9A
tetradic
#9A34AF #AF5D34 #49AF34 #3487AF
square
#9A34AF #AF5D34 #49AF34 #3487AF
split-complementary
#9A34AF #87AF34 #34AF5D
monochromatic
#471851 #702680 #9A34AF #B854CC #CB83DA

Accessibility & contrast

On white

6.03
#9A34AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A34AF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A34AF#FFFFFF#000000##FFFFFF
##9A34AF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4066AC
Tritanopia (blue-blind)
#9B4B6E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a34af;
/* rgb */ color: rgb(154, 52, 175);
/* oklch */ color: oklch(52.5% 0.199 320.3);
Tailwind
colors: {
  custom: {
    50: '#bb75c7',
    500: '#9a34af',
    950: '#000000',
  },
}
SCSS
$custom: #9a34af;
$custom-light: #bb75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a34af",
  "rgb": {
    "r": 154,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 289.756,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.19935,
    "h": 320.3
  },
  "luminance": 0.12421
}

Semantic roles & 50–950 ramp

primary
#9A34AF
secondary
#88C47B
accent
#DE4A63
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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