#9B52BC#9B52BC

#9B52BC is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.0% C 0.170 H 314.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9B52BC
RGBrgb(155, 82, 188)
HSLhsl(281, 44%, 53%)
HSVhsv(281, 56%, 74%)
CMYKcmyk(17.6%, 56.4%, 0%, 26.3%)
CIE-LABlab(47.80, 47.96, -43.72)
CIE-LCHlch(47.80, 64.90, 317.65°)
OKLaboklab(57.03% 0.1185 -0.1223)
OKLCHoklch(57.03% 0.17 314.1)
XYZxyz(25.6105, 16.6347, 49.4289)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B52BC #73BC52
analogous
#6652BC #9B52BC #BC52A8
triadic
#9B52BC #BC9B52 #52BC9B
tetradic
#9B52BC #BC6652 #73BC52 #52A8BC
square
#9B52BC #BC6652 #73BC52 #52A8BC
split-complementary
#9B52BC #A8BC52 #52BC66
monochromatic
#56296A #7A3A97 #9B52BC #B57ECD #CEAADE

Accessibility & contrast

On white

4.85
#9B52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9B52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B52BC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B52BC#FFFFFF#000000##FFFFFF
##9B52BC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBF
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#98647F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b52bc;
/* rgb */ color: rgb(155, 82, 188);
/* oklch */ color: oklch(57.0% 0.170 314.1);
Tailwind
colors: {
  custom: {
    50: '#bb86d1',
    500: '#9b52bc',
    950: '#000000',
  },
}
SCSS
$custom: #9b52bc;
$custom-light: #bb86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b52bc",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 281.321,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57026,
    "c": 0.17027,
    "h": 314.1
  },
  "luminance": 0.16634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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