#9B34C5#9B34C5

#9B34C5 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.219 H 314.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9B34C5
RGBrgb(155, 52, 197)
HSLhsl(283, 58%, 49%)
HSVhsv(283, 74%, 77%)
CMYKcmyk(21.3%, 73.6%, 0%, 22.7%)
CIE-LABlab(43.44, 63.38, -55.92)
CIE-LCHlch(43.44, 84.52, 318.58°)
OKLaboklab(54.06% 0.1524 -0.1578)
OKLCHoklch(54.06% 0.219 314)
XYZxyz(24.8219, 13.4566, 54.1023)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B34C5 #5EC534
analogous
#5334C5 #9B34C5 #C534A7
triadic
#9B34C5 #C59B34 #34C59B
tetradic
#9B34C5 #C55334 #5EC534 #34A7C5
square
#9B34C5 #C55334 #5EC534 #34A7C5
split-complementary
#9B34C5 #A7C534 #34C553
monochromatic
#4F1A64 #752795 #9B34C5 #B461D5 #CB91E2

Accessibility & contrast

On white

5.69
#9B34C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9B34C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B34C5
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B34C5#FFFFFF#000000##FFFFFF
##9B34C51.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#2A69C2
Tritanopia (blue-blind)
#97547A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b34c5;
/* rgb */ color: rgb(155, 52, 197);
/* oklch */ color: oklch(54.1% 0.219 314.0);
Tailwind
colors: {
  custom: {
    50: '#bd76d7',
    500: '#9b34c5',
    950: '#000000',
  },
}
SCSS
$custom: #9b34c5;
$custom-light: #bd76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b34c5",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 282.621,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54062,
    "c": 0.21943,
    "h": 314
  },
  "luminance": 0.13456
}

Semantic roles & 50–950 ramp

primary
#9B34C5
secondary
#9CCD88
accent
#E14673
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B34C5

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

Preview Lab → · Contrast checker → · Palette generator →

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