#9A34C5#9A34C5

#9A34C5 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.219 H 313.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9A34C5
RGBrgb(154, 52, 197)
HSLhsl(282, 58%, 49%)
HSVhsv(282, 74%, 77%)
CMYKcmyk(21.8%, 73.6%, 0%, 22.7%)
CIE-LABlab(43.30, 63.18, -56.16)
CIE-LCHlch(43.30, 84.53, 318.36°)
OKLaboklab(53.93% 0.1512 -0.1586)
OKLCHoklch(53.93% 0.219 313.6)
XYZxyz(24.6307, 13.3580, 54.0934)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A34C5 #5FC534
analogous
#5234C5 #9A34C5 #C534A8
triadic
#9A34C5 #C59A34 #34C59A
tetradic
#9A34C5 #C55234 #5FC534 #34A8C5
square
#9A34C5 #C55234 #5FC534 #34A8C5
split-complementary
#9A34C5 #A8C534 #34C552
monochromatic
#4E1A64 #742795 #9A34C5 #B361D5 #CA91E2

Accessibility & contrast

On white

5.72
#9A34C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9A34C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A34C5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A34C5#FFFFFF#000000##FFFFFF
##9A34C51.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#2869C2
Tritanopia (blue-blind)
#96547A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a34c5;
/* rgb */ color: rgb(154, 52, 197);
/* oklch */ color: oklch(53.9% 0.219 313.6);
Tailwind
colors: {
  custom: {
    50: '#bc75d7',
    500: '#9a34c5',
    950: '#000000',
  },
}
SCSS
$custom: #9a34c5;
$custom-light: #bc75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a34c5",
  "rgb": {
    "r": 154,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 282.207,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53929,
    "c": 0.2191,
    "h": 313.6
  },
  "luminance": 0.13357
}

Semantic roles & 50–950 ramp

primary
#9A34C5
secondary
#9CCD88
accent
#E14674
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A34C5

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

Preview Lab → · Contrast checker → · Palette generator →

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