#9B34CA#9B34CA

#9B34CA is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.224 H 312.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9B34CA
RGBrgb(155, 52, 202)
HSLhsl(281, 59%, 50%)
HSVhsv(281, 74%, 79%)
CMYKcmyk(23.3%, 74.3%, 0%, 20.8%)
CIE-LABlab(43.78, 64.39, -58.27)
CIE-LCHlch(43.78, 86.84, 317.85°)
OKLaboklab(54.41% 0.1517 -0.1647)
OKLCHoklch(54.41% 0.224 312.6)
XYZxyz(25.4043, 13.6896, 57.1698)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B34CA #63CA34
analogous
#5034CA #9B34CA #CA34AE
triadic
#9B34CA #CA9B34 #34CA9B
tetradic
#9B34CA #CA5034 #63CA34 #34AECA
square
#9B34CA #CA5034 #63CA34 #34AECA
split-complementary
#9B34CA #AECA34 #34CA50
monochromatic
#501B69 #762799 #9B34CA #B364D7 #CB95E4

Accessibility & contrast

On white

5.62
#9B34CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9B34CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B34CA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B34CA#FFFFFF#000000##FFFFFF
##9B34CA1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#216AC7
Tritanopia (blue-blind)
#96567D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b34ca;
/* rgb */ color: rgb(155, 52, 202);
/* oklch */ color: oklch(54.4% 0.224 312.6);
Tailwind
colors: {
  custom: {
    50: '#bd76db',
    500: '#9b34ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b34ca;
$custom-light: #bd76db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b34ca",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 281.2,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54412,
    "c": 0.22396,
    "h": 312.6
  },
  "luminance": 0.13689
}

Semantic roles & 50–950 ramp

primary
#9B34CA
secondary
#A0CF8B
accent
#E24677
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B34CA

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

Preview Lab → · Contrast checker → · Palette generator →

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