#9D52BF#9D52BF

#9D52BF is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.4% C 0.174 H 314.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9D52BF
RGBrgb(157, 82, 191)
HSLhsl(281, 46%, 54%)
HSVhsv(281, 57%, 75%)
CMYKcmyk(17.8%, 57.1%, 0%, 25.1%)
CIE-LABlab(48.22, 49.13, -44.78)
CIE-LCHlch(48.22, 66.47, 317.65°)
OKLaboklab(57.44% 0.1211 -0.1253)
OKLCHoklch(57.44% 0.174 314)
XYZxyz(26.3243, 16.9650, 51.1680)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D52BF #74BF52
analogous
#6652BF #9D52BF #BF52AB
triadic
#9D52BF #BF9D52 #52BF9D
tetradic
#9D52BF #BF6652 #74BF52 #52ABBF
square
#9D52BF #BF6652 #74BF52 #52ABBF
split-complementary
#9D52BF #ABBF52 #52BF66
monochromatic
#58296E #7C399B #9D52BF #B67FD0 #D0ABE0

Accessibility & contrast

On white

4.78
#9D52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9D52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D52BF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D52BF#FFFFFF#000000##FFFFFF
##9D52BF1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC3
Deuteranopia (green-blind)
#4F74BC
Tritanopia (blue-blind)
#9A6581
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d52bf;
/* rgb */ color: rgb(157, 82, 191);
/* oklch */ color: oklch(57.4% 0.174 314.0);
Tailwind
colors: {
  custom: {
    50: '#bd86d3',
    500: '#9d52bf',
    950: '#000000',
  },
}
SCSS
$custom: #9d52bf;
$custom-light: #bd86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d52bf",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 281.284,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57442,
    "c": 0.17428,
    "h": 314
  },
  "luminance": 0.16964
}

Semantic roles & 50–950 ramp

primary
#9D52BF
secondary
#AECE9F
accent
#D6527B
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9D52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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