#9D52BB#9D52BB

#9D52BB is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.2% C 0.170 H 315.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9D52BB
RGBrgb(157, 82, 187)
HSLhsl(283, 44%, 53%)
HSVhsv(283, 56%, 73%)
CMYKcmyk(16%, 56.1%, 0%, 26.7%)
CIE-LABlab(48.00, 48.27, -42.80)
CIE-LCHlch(48.00, 64.52, 318.44°)
OKLaboklab(57.21% 0.1209 -0.1196)
OKLCHoklch(57.21% 0.17 315.3)
XYZxyz(25.8902, 16.7914, 48.8813)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D52BB #70BB52
analogous
#6852BB #9D52BB #BB52A4
triadic
#9D52BB #BB9D52 #52BB9D
tetradic
#9D52BB #BB6852 #70BB52 #52A4BB
square
#9D52BB #BB6852 #70BB52 #52A4BB
split-complementary
#9D52BB #A4BB52 #52BB68
monochromatic
#572969 #7B3B95 #9D52BB #B67ECC #CFAADE

Accessibility & contrast

On white

4.82
#9D52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9D52BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D52BB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D52BB#FFFFFF#000000##FFFFFF
##9D52BB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBE
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#9B637F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d52bb;
/* rgb */ color: rgb(157, 82, 187);
/* oklch */ color: oklch(57.2% 0.170 315.3);
Tailwind
colors: {
  custom: {
    50: '#bc86d0',
    500: '#9d52bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d52bb;
$custom-light: #bc86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d52bb",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 282.857,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57209,
    "c": 0.17005,
    "h": 315.3
  },
  "luminance": 0.16791
}

Semantic roles & 50–950 ramp

primary
#9D52BB
secondary
#ABCB9E
accent
#D35479
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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