#9536B2#9536B2

#9536B2 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.198 H 317.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9536B2
RGBrgb(149, 54, 178)
HSLhsl(286, 53%, 45%)
HSVhsv(286, 70%, 70%)
CMYKcmyk(16.3%, 69.7%, 0%, 30.2%)
CIE-LABlab(41.60, 57.54, -47.80)
CIE-LCHlch(41.60, 74.81, 320.29°)
OKLaboklab(52.18% 0.1449 -0.1342)
OKLCHoklch(52.18% 0.198 317.2)
XYZxyz(21.7483, 12.2431, 43.3284)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9536B2 #53B236
analogous
#5736B2 #9536B2 #B23691
triadic
#9536B2 #B29536 #36B295
tetradic
#9536B2 #B25736 #53B236 #3691B2
square
#9536B2 #B25736 #53B236 #3691B2
split-complementary
#9536B2 #91B236 #36B257
monochromatic
#461A54 #6E2883 #9536B2 #B159CD #C788DB

Accessibility & contrast

On white

6.09
#9536B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9536B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9536B2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9536B2#FFFFFF#000000##FFFFFF
##9536B21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3965AF
Tritanopia (blue-blind)
#944E70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9536b2;
/* rgb */ color: rgb(149, 54, 178);
/* oklch */ color: oklch(52.2% 0.198 317.2);
Tailwind
colors: {
  custom: {
    50: '#b875ca',
    500: '#9536b2',
    950: '#000000',
  },
}
SCSS
$custom: #9536b2;
$custom-light: #b875ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9536b2",
  "rgb": {
    "r": 149,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 285.968,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52175,
    "c": 0.19753,
    "h": 317.2
  },
  "luminance": 0.12242
}

Semantic roles & 50–950 ramp

primary
#9536B2
secondary
#8FC57F
accent
#DD4B6D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9536B2

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

Preview Lab → · Contrast checker → · Palette generator →

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