#9D52BC#9D52BC

#9D52BC is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.3% C 0.171 H 315.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9D52BC
RGBrgb(157, 82, 188)
HSLhsl(282, 44%, 53%)
HSVhsv(282, 56%, 74%)
CMYKcmyk(16.5%, 56.4%, 0%, 26.3%)
CIE-LABlab(48.05, 48.48, -43.30)
CIE-LCHlch(48.05, 65.00, 318.23°)
OKLaboklab(57.27% 0.121 -0.121)
OKLCHoklch(57.27% 0.171 315)
XYZxyz(25.9976, 16.8343, 49.4471)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D52BC #71BC52
analogous
#6852BC #9D52BC #BC52A6
triadic
#9D52BC #BC9D52 #52BC9D
tetradic
#9D52BC #BC6852 #71BC52 #52A6BC
square
#9D52BC #BC6852 #71BC52 #52A6BC
split-complementary
#9D52BC #A6BC52 #52BC68
monochromatic
#57296A #7C3A97 #9D52BC #B67ECD #CFAADE

Accessibility & contrast

On white

4.81
#9D52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9D52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D52BC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D52BC#FFFFFF#000000##FFFFFF
##9D52BC1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EBF
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#9B647F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d52bc;
/* rgb */ color: rgb(157, 82, 188);
/* oklch */ color: oklch(57.3% 0.171 315.0);
Tailwind
colors: {
  custom: {
    50: '#bc86d1',
    500: '#9d52bc',
    950: '#000000',
  },
}
SCSS
$custom: #9d52bc;
$custom-light: #bc86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d52bc",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 282.453,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57267,
    "c": 0.17111,
    "h": 315
  },
  "luminance": 0.16834
}

Semantic roles & 50–950 ramp

primary
#9D52BC
secondary
#ABCC9E
accent
#D45479
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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