#9534B5#9534B5

#9534B5 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.2% C 0.203 H 316.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9534B5
RGBrgb(149, 52, 181)
HSLhsl(285, 55%, 46%)
HSVhsv(285, 71%, 71%)
CMYKcmyk(17.7%, 71.3%, 0%, 29%)
CIE-LABlab(41.50, 58.95, -49.72)
CIE-LCHlch(41.50, 77.12, 319.85°)
OKLaboklab(52.17% 0.1468 -0.1398)
OKLCHoklch(52.17% 0.203 316.4)
XYZxyz(21.9616, 12.1826, 44.9017)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9534B5 #54B534
analogous
#5434B5 #9534B5 #B53494
triadic
#9534B5 #B59534 #34B595
tetradic
#9534B5 #B55434 #54B534 #3494B5
square
#9534B5 #B55434 #54B534 #3494B5
split-complementary
#9534B5 #94B534 #34B554
monochromatic
#471956 #6E2685 #9534B5 #B157CF #C787DC

Accessibility & contrast

On white

6.11
#9534B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9534B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9534B5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9534B5#FFFFFF#000000##FFFFFF
##9534B51.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#3465B2
Tritanopia (blue-blind)
#934E71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9534b5;
/* rgb */ color: rgb(149, 52, 181);
/* oklch */ color: oklch(52.2% 0.203 316.4);
Tailwind
colors: {
  custom: {
    50: '#b874cc',
    500: '#9534b5',
    950: '#000000',
  },
}
SCSS
$custom: #9534b5;
$custom-light: #b874cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9534b5",
  "rgb": {
    "r": 149,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 285.116,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52168,
    "c": 0.20273,
    "h": 316.4
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#9534B5
secondary
#90C67F
accent
#DF496E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9534B5

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

Preview Lab → · Contrast checker → · Palette generator →

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