#9E52AF#9E52AF

#9E52AF is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.7% C 0.158 H 320.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9E52AF
RGBrgb(158, 82, 175)
HSLhsl(289, 37%, 50%)
HSVhsv(289, 53%, 69%)
CMYKcmyk(9.7%, 53.1%, 0%, 31.4%)
CIE-LABlab(47.49, 46.05, -36.58)
CIE-LCHlch(47.49, 58.81, 321.54°)
OKLaboklab(56.66% 0.1211 -0.1015)
OKLCHoklch(56.66% 0.158 320)
XYZxyz(24.8548, 16.3999, 42.4054)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E52AF #63AF52
analogous
#6F52AF #9E52AF #AF5292
triadic
#9E52AF #AF9E52 #52AF9E
tetradic
#9E52AF #AF6F52 #63AF52 #5292AF
square
#9E52AF #AF6F52 #63AF52 #5292AF
split-complementary
#9E52AF #92AF52 #52AF6F
monochromatic
#532B5C #793E86 #9E52AF #B57CC2 #CDA6D6

Accessibility & contrast

On white

4.91
#9E52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9E52AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E52AF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E52AF#FFFFFF#000000##FFFFFF
##9E52AF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#9F5F79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9e52af;
/* rgb */ color: rgb(158, 82, 175);
/* oklch */ color: oklch(56.7% 0.158 320.0);
Tailwind
colors: {
  custom: {
    50: '#bd86c7',
    500: '#9e52af',
    950: '#000000',
  },
}
SCSS
$custom: #9e52af;
$custom-light: #bd86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e52af",
  "rgb": {
    "r": 158,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 289.032,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56664,
    "c": 0.158,
    "h": 320
  },
  "luminance": 0.16399
}

Semantic roles & 50–950 ramp

primary
#9E52AF
secondary
#A1C39A
accent
#CD5B70
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9E52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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