#9B34C8#9B34C8

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

Color values

HEX#9B34C8
RGBrgb(155, 52, 200)
HSLhsl(282, 59%, 49%)
HSVhsv(282, 74%, 78%)
CMYKcmyk(22.5%, 74%, 0%, 21.6%)
CIE-LABlab(43.65, 63.98, -57.33)
CIE-LCHlch(43.65, 85.91, 318.14°)
OKLaboklab(54.27% 0.152 -0.162)
OKLCHoklch(54.27% 0.222 313.2)
XYZxyz(25.1690, 13.5955, 55.9307)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B34C8 #61C834
analogous
#5134C8 #9B34C8 #C834AB
triadic
#9B34C8 #C89B34 #34C89B
tetradic
#9B34C8 #C85134 #61C834 #34ABC8
square
#9B34C8 #C85134 #61C834 #34ABC8
split-complementary
#9B34C8 #ABC834 #34C851
monochromatic
#501B67 #752797 #9B34C8 #B363D6 #CB93E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B34C8#FFFFFF#000000##FFFFFF
##9B34C81.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)
#0062CC
Deuteranopia (green-blind)
#2569C5
Tritanopia (blue-blind)
#96557C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b34c8;
/* rgb */ color: rgb(155, 52, 200);
/* oklch */ color: oklch(54.3% 0.222 313.2);
Tailwind
colors: {
  custom: {
    50: '#bd76d9',
    500: '#9b34c8',
    950: '#000000',
  },
}
SCSS
$custom: #9b34c8;
$custom-light: #bd76d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b34c8",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 281.757,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54271,
    "c": 0.22215,
    "h": 313.2
  },
  "luminance": 0.13595
}

Semantic roles & 50–950 ramp

primary
#9B34C8
secondary
#9FCE8A
accent
#E24675
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B34C8

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

Preview Lab → · Contrast checker → · Palette generator →

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