#9520A8#9520A8

#9520A8 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.212 H 321.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9520A8
RGBrgb(149, 32, 168)
HSLhsl(292, 68%, 39%)
HSVhsv(292, 81%, 66%)
CMYKcmyk(11.3%, 81%, 0%, 34.1%)
CIE-LABlab(38.29, 63.28, -47.17)
CIE-LCHlch(38.29, 78.93, 323.30°)
OKLaboklab(49.62% 0.166 -0.1322)
OKLCHoklch(49.62% 0.212 321.5)
XYZxyz(19.9780, 10.2509, 37.9645)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9520A8 #33A820
analogous
#5120A8 #9520A8 #A82077
triadic
#9520A8 #A89520 #20A895
tetradic
#9520A8 #A85120 #33A820 #2077A8
square
#9520A8 #A85120 #33A820 #2077A8
split-complementary
#9520A8 #77A820 #20A851
monochromatic
#3A0C41 #671675 #9520A8 #C02ED7 #CF61E1

Accessibility & contrast

On white

6.89
#9520A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9520A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9520A8
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9520A8#FFFFFF#000000##FFFFFF
##9520A81.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#335EA5
Tritanopia (blue-blind)
#963E65
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9520a8;
/* rgb */ color: rgb(149, 32, 168);
/* oklch */ color: oklch(49.6% 0.212 321.5);
Tailwind
colors: {
  custom: {
    50: '#b86bc2',
    500: '#9520a8',
    950: '#000000',
  },
}
SCSS
$custom: #9520a8;
$custom-light: #b86bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9520a8",
  "rgb": {
    "r": 149,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 291.618,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49618,
    "c": 0.21221,
    "h": 321.5
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#9520A8
secondary
#6CC65E
accent
#EB3D55
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #9520A8

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

Preview Lab → · Contrast checker → · Palette generator →

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