#9D52AE#9D52AE

#9D52AE is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.5% C 0.156 H 320.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9D52AE
RGBrgb(157, 82, 174)
HSLhsl(289, 36%, 50%)
HSVhsv(289, 53%, 68%)
CMYKcmyk(9.8%, 52.9%, 0%, 31.8%)
CIE-LABlab(47.31, 45.57, -36.29)
CIE-LCHlch(47.31, 58.25, 321.47°)
OKLaboklab(56.49% 0.1198 -0.1006)
OKLCHoklch(56.49% 0.156 320)
XYZxyz(24.5610, 16.2597, 41.8809)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D52AE #63AE52
analogous
#6F52AE #9D52AE #AE5291
triadic
#9D52AE #AE9D52 #52AE9D
tetradic
#9D52AE #AE6F52 #63AE52 #5291AE
square
#9D52AE #AE6F52 #63AE52 #5291AE
split-complementary
#9D52AE #91AE52 #52AE6F
monochromatic
#522B5B #783E85 #9D52AE #B57CC2 #CCA5D5

Accessibility & contrast

On white

4.94
#9D52AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9D52AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D52AE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D52AE#FFFFFF#000000##FFFFFF
##9D52AE1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB1
Deuteranopia (green-blind)
#5973AB
Tritanopia (blue-blind)
#9E5F78
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d52ae;
/* rgb */ color: rgb(157, 82, 174);
/* oklch */ color: oklch(56.5% 0.156 320.0);
Tailwind
colors: {
  custom: {
    50: '#bc86c6',
    500: '#9d52ae',
    950: '#000000',
  },
}
SCSS
$custom: #9d52ae;
$custom-light: #bc86c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d52ae",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 288.913,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56486,
    "c": 0.15645,
    "h": 320
  },
  "luminance": 0.16259
}

Semantic roles & 50–950 ramp

primary
#9D52AE
secondary
#A1C299
accent
#CC5C70
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9D52AE

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

Preview Lab → · Contrast checker → · Palette generator →

#9D52AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva