#9A34CA#9A34CA

#9A34CA is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.224 H 312.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9A34CA
RGBrgb(154, 52, 202)
HSLhsl(281, 59%, 50%)
HSVhsv(281, 74%, 79%)
CMYKcmyk(23.8%, 74.3%, 0%, 20.8%)
CIE-LABlab(43.64, 64.20, -58.51)
CIE-LCHlch(43.64, 86.86, 317.65°)
OKLaboklab(54.28% 0.1504 -0.1655)
OKLCHoklch(54.28% 0.224 312.3)
XYZxyz(25.2131, 13.5910, 57.1608)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A34CA #64CA34
analogous
#4F34CA #9A34CA #CA34AF
triadic
#9A34CA #CA9A34 #34CA9A
tetradic
#9A34CA #CA4F34 #64CA34 #34AFCA
square
#9A34CA #CA4F34 #64CA34 #34AFCA
split-complementary
#9A34CA #AFCA34 #34CA4F
monochromatic
#501B69 #752799 #9A34CA #B264D7 #CA95E4

Accessibility & contrast

On white

5.65
#9A34CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9A34CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A34CA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A34CA#FFFFFF#000000##FFFFFF
##9A34CA1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#1F69C7
Tritanopia (blue-blind)
#94567D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a34ca;
/* rgb */ color: rgb(154, 52, 202);
/* oklch */ color: oklch(54.3% 0.224 312.3);
Tailwind
colors: {
  custom: {
    50: '#bc76db',
    500: '#9a34ca',
    950: '#000000',
  },
}
SCSS
$custom: #9a34ca;
$custom-light: #bc76db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a34ca",
  "rgb": {
    "r": 154,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 280.8,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54281,
    "c": 0.22364,
    "h": 312.3
  },
  "luminance": 0.1359
}

Semantic roles & 50–950 ramp

primary
#9A34CA
secondary
#A1CF8B
accent
#E24678
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A34CA

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

Preview Lab → · Contrast checker → · Palette generator →

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