#9534B4#9534B4

#9534B4 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.202 H 316.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9534B4
RGBrgb(149, 52, 180)
HSLhsl(285, 55%, 45%)
HSVhsv(285, 71%, 71%)
CMYKcmyk(17.2%, 71.1%, 0%, 29.4%)
CIE-LABlab(41.44, 58.75, -49.23)
CIE-LCHlch(41.44, 76.65, 320.04°)
OKLaboklab(52.1% 0.1469 -0.1384)
OKLCHoklch(52.1% 0.202 316.7)
XYZxyz(21.8594, 12.1417, 44.3633)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9534B4 #53B434
analogous
#5534B4 #9534B4 #B43493
triadic
#9534B4 #B49534 #34B495
tetradic
#9534B4 #B45534 #53B434 #3493B4
square
#9534B4 #B45534 #53B434 #3493B4
split-complementary
#9534B4 #93B434 #34B455
monochromatic
#461955 #6E2685 #9534B4 #B157CE #C786DC

Accessibility & contrast

On white

6.13
#9534B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9534B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9534B4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9534B4#FFFFFF#000000##FFFFFF
##9534B41.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#3565B1
Tritanopia (blue-blind)
#934E71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9534b4;
/* rgb */ color: rgb(149, 52, 180);
/* oklch */ color: oklch(52.1% 0.202 316.7);
Tailwind
colors: {
  custom: {
    50: '#b874cb',
    500: '#9534b4',
    950: '#000000',
  },
}
SCSS
$custom: #9534b4;
$custom-light: #b874cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9534b4",
  "rgb": {
    "r": 149,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 285.469,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52102,
    "c": 0.20181,
    "h": 316.7
  },
  "luminance": 0.12141
}

Semantic roles & 50–950 ramp

primary
#9534B4
secondary
#8FC67E
accent
#DF496D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9534B4

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

Preview Lab → · Contrast checker → · Palette generator →

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