#9520BB#9520BB

#9520BB is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 51.0% C 0.228 H 315.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9520BB
RGBrgb(149, 32, 187)
HSLhsl(285, 71%, 43%)
HSVhsv(285, 83%, 73%)
CMYKcmyk(20.3%, 82.9%, 0%, 26.7%)
CIE-LABlab(39.60, 66.78, -56.33)
CIE-LCHlch(39.60, 87.36, 319.85°)
OKLaboklab(50.95% 0.1628 -0.1591)
OKLCHoklch(50.95% 0.228 315.7)
XYZxyz(21.8791, 11.0113, 47.9770)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9520BB #46BB20
analogous
#4720BB #9520BB #BB2094
triadic
#9520BB #BB9520 #20BB95
tetradic
#9520BB #BB4720 #46BB20 #2094BB
square
#9520BB #BB4720 #46BB20 #2094BB
split-complementary
#9520BB #94BB20 #20BB47
monochromatic
#420E52 #6B1787 #9520BB #B63BDD #C96FE6

Accessibility & contrast

On white

6.56
#9520BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9520BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9520BB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9520BB#FFFFFF#000000##FFFFFF
##9520BB1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#1960B8
Tritanopia (blue-blind)
#924770
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9520bb;
/* rgb */ color: rgb(149, 32, 187);
/* oklch */ color: oklch(51.0% 0.228 315.7);
Tailwind
colors: {
  custom: {
    50: '#b96cd0',
    500: '#9520bb',
    950: '#000000',
  },
}
SCSS
$custom: #9520bb;
$custom-light: #b96cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9520bb",
  "rgb": {
    "r": 149,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 285.29,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50953,
    "c": 0.22762,
    "h": 315.7
  },
  "luminance": 0.1101
}

Semantic roles & 50–950 ramp

primary
#9520BB
secondary
#82CD6A
accent
#EE3A66
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9520BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9520BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva