#9A34BD#9A34BD

#9A34BD is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.212 H 315.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9A34BD
RGBrgb(154, 52, 189)
HSLhsl(285, 57%, 47%)
HSVhsv(285, 72%, 74%)
CMYKcmyk(18.5%, 72.5%, 0%, 25.9%)
CIE-LABlab(42.76, 61.58, -52.35)
CIE-LCHlch(42.76, 80.83, 319.63°)
OKLaboklab(53.38% 0.1522 -0.1474)
OKLCHoklch(53.38% 0.212 315.9)
XYZxyz(23.7383, 13.0011, 49.3933)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A34BD #57BD34
analogous
#5634BD #9A34BD #BD349B
triadic
#9A34BD #BD9A34 #34BD9A
tetradic
#9A34BD #BD5634 #57BD34 #349BBD
square
#9A34BD #BD5634 #57BD34 #349BBD
split-complementary
#9A34BD #9BBD34 #34BD56
monochromatic
#4C1A5D #73278D #9A34BD #B45CD2 #CA8CDF

Accessibility & contrast

On white

5.83
#9A34BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9A34BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A34BD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A34BD#FFFFFF#000000##FFFFFF
##9A34BD1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#3268BA
Tritanopia (blue-blind)
#985176
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a34bd;
/* rgb */ color: rgb(154, 52, 189);
/* oklch */ color: oklch(53.4% 0.212 315.9);
Tailwind
colors: {
  custom: {
    50: '#bc75d2',
    500: '#9a34bd',
    950: '#000000',
  },
}
SCSS
$custom: #9a34bd;
$custom-light: #bc75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a34bd",
  "rgb": {
    "r": 154,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 284.672,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53382,
    "c": 0.21186,
    "h": 315.9
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#9A34BD
secondary
#95CA83
accent
#E0486F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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