#9D52BD#9D52BD

#9D52BD is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.3% C 0.172 H 314.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9D52BD
RGBrgb(157, 82, 189)
HSLhsl(282, 45%, 53%)
HSVhsv(282, 57%, 74%)
CMYKcmyk(16.9%, 56.6%, 0%, 25.9%)
CIE-LABlab(48.11, 48.70, -43.79)
CIE-LCHlch(48.11, 65.49, 318.04°)
OKLaboklab(57.33% 0.121 -0.1224)
OKLCHoklch(57.33% 0.172 314.7)
XYZxyz(26.1057, 16.8776, 50.0168)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D52BD #72BD52
analogous
#6752BD #9D52BD #BD52A7
triadic
#9D52BD #BD9D52 #52BD9D
tetradic
#9D52BD #BD6752 #72BD52 #52A7BD
square
#9D52BD #BD6752 #72BD52 #52A7BD
split-complementary
#9D52BD #A7BD52 #52BD67
monochromatic
#58296C #7C3A98 #9D52BD #B67ECE #CFABDF

Accessibility & contrast

On white

4.80
#9D52BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9D52BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D52BD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D52BD#FFFFFF#000000##FFFFFF
##9D52BD1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#5074BA
Tritanopia (blue-blind)
#9B6480
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d52bd;
/* rgb */ color: rgb(157, 82, 189);
/* oklch */ color: oklch(57.3% 0.172 314.7);
Tailwind
colors: {
  custom: {
    50: '#bc86d1',
    500: '#9d52bd',
    950: '#000000',
  },
}
SCSS
$custom: #9d52bd;
$custom-light: #bc86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d52bd",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 282.056,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57325,
    "c": 0.17216,
    "h": 314.7
  },
  "luminance": 0.16877
}

Semantic roles & 50–950 ramp

primary
#9D52BD
secondary
#ACCC9E
accent
#D4537A
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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