#9534AD#9534AD

#9534AD is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.6% C 0.195 H 318.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9534AD
RGBrgb(149, 52, 173)
HSLhsl(288, 54%, 44%)
HSVhsv(288, 70%, 68%)
CMYKcmyk(13.9%, 69.9%, 0%, 32.2%)
CIE-LABlab(41.00, 57.37, -45.80)
CIE-LCHlch(41.00, 73.41, 321.40°)
OKLaboklab(51.65% 0.1474 -0.1284)
OKLCHoklch(51.65% 0.195 318.9)
XYZxyz(21.1642, 11.8637, 40.7022)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9534AD #4CAD34
analogous
#5934AD #9534AD #AD3489
triadic
#9534AD #AD9534 #34AD95
tetradic
#9534AD #AD5934 #4CAD34 #3489AD
square
#9534AD #AD5934 #4CAD34 #3489AD
split-complementary
#9534AD #89AD34 #34AD59
monochromatic
#44184F #6C267E #9534AD #B353CB #C882D9

Accessibility & contrast

On white

6.23
#9534AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9534AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9534AD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9534AD#FFFFFF#000000##FFFFFF
##9534AD1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#3C64AA
Tritanopia (blue-blind)
#954B6D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9534ad;
/* rgb */ color: rgb(149, 52, 173);
/* oklch */ color: oklch(51.6% 0.195 318.9);
Tailwind
colors: {
  custom: {
    50: '#b874c6',
    500: '#9534ad',
    950: '#000000',
  },
}
SCSS
$custom: #9534ad;
$custom-light: #b874c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9534ad",
  "rgb": {
    "r": 149,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 288.099,
    "s": 53.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51645,
    "c": 0.19543,
    "h": 318.9
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#9534AD
secondary
#88C37A
accent
#DD4B68
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9534AD

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

Preview Lab → · Contrast checker → · Palette generator →

#9534AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva