#9534B7#9534B7

#9534B7 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.3% C 0.205 H 315.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9534B7
RGBrgb(149, 52, 183)
HSLhsl(284, 56%, 46%)
HSVhsv(284, 72%, 72%)
CMYKcmyk(18.6%, 71.6%, 0%, 28.2%)
CIE-LABlab(41.63, 59.35, -50.69)
CIE-LCHlch(41.63, 78.05, 319.50°)
OKLaboklab(52.3% 0.1466 -0.1427)
OKLCHoklch(52.3% 0.205 315.8)
XYZxyz(22.1683, 12.2653, 45.9903)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9534B7 #56B734
analogous
#5334B7 #9534B7 #B73497
triadic
#9534B7 #B79534 #34B795
tetradic
#9534B7 #B75334 #56B734 #3497B7
square
#9534B7 #B75334 #56B734 #3497B7
split-complementary
#9534B7 #97B734 #34B753
monochromatic
#471958 #6E2687 #9534B7 #B159D0 #C788DD

Accessibility & contrast

On white

6.08
#9534B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9534B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9534B7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9534B7#FFFFFF#000000##FFFFFF
##9534B71.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#3265B4
Tritanopia (blue-blind)
#934F72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9534b7;
/* rgb */ color: rgb(149, 52, 183);
/* oklch */ color: oklch(52.3% 0.205 315.8);
Tailwind
colors: {
  custom: {
    50: '#b874cd',
    500: '#9534b7',
    950: '#000000',
  },
}
SCSS
$custom: #9534b7;
$custom-light: #b874cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9534b7",
  "rgb": {
    "r": 149,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 284.427,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52302,
    "c": 0.20456,
    "h": 315.8
  },
  "luminance": 0.12264
}

Semantic roles & 50–950 ramp

primary
#9534B7
secondary
#92C780
accent
#DF4970
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9534B7

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

Preview Lab → · Contrast checker → · Palette generator →

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