#9534B2#9534B2

#9534B2 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.200 H 317.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9534B2
RGBrgb(149, 52, 178)
HSLhsl(286, 55%, 45%)
HSVhsv(286, 71%, 70%)
CMYKcmyk(16.3%, 70.8%, 0%, 30.2%)
CIE-LABlab(41.31, 58.35, -48.26)
CIE-LCHlch(41.31, 75.72, 320.41°)
OKLaboklab(51.97% 0.147 -0.1356)
OKLCHoklch(51.97% 0.2 317.3)
XYZxyz(21.6571, 12.0608, 43.2980)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9534B2 #51B234
analogous
#5634B2 #9534B2 #B23490
triadic
#9534B2 #B29534 #34B295
tetradic
#9534B2 #B25634 #51B234 #3490B2
square
#9534B2 #B25634 #51B234 #3490B2
split-complementary
#9534B2 #90B234 #34B256
monochromatic
#461853 #6D2683 #9534B2 #B256CE #C785DB

Accessibility & contrast

On white

6.15
#9534B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9534B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9534B2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9534B2#FFFFFF#000000##FFFFFF
##9534B21.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3764AF
Tritanopia (blue-blind)
#944D6F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9534b2;
/* rgb */ color: rgb(149, 52, 178);
/* oklch */ color: oklch(52.0% 0.200 317.3);
Tailwind
colors: {
  custom: {
    50: '#b874ca',
    500: '#9534b2',
    950: '#000000',
  },
}
SCSS
$custom: #9534b2;
$custom-light: #b874ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9534b2",
  "rgb": {
    "r": 149,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 286.19,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5197,
    "c": 0.19999,
    "h": 317.3
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#9534B2
secondary
#8DC57D
accent
#DE4A6C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9534B2

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

Preview Lab → · Contrast checker → · Palette generator →

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