#9520A7#9520A7

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

Color values

HEX#9520A7
RGBrgb(149, 32, 167)
HSLhsl(292, 68%, 39%)
HSVhsv(292, 81%, 65%)
CMYKcmyk(10.8%, 80.8%, 0%, 34.5%)
CIE-LABlab(38.22, 63.10, -46.67)
CIE-LCHlch(38.22, 78.49, 323.51°)
OKLaboklab(49.55% 0.1661 -0.1308)
OKLCHoklch(49.55% 0.211 321.8)
XYZxyz(19.8852, 10.2138, 37.4758)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9520A7 #32A720
analogous
#5220A7 #9520A7 #A72076
triadic
#9520A7 #A79520 #20A795
tetradic
#9520A7 #A75220 #32A720 #2076A7
square
#9520A7 #A75220 #32A720 #2076A7
split-complementary
#9520A7 #76A720 #20A752
monochromatic
#390C40 #671674 #9520A7 #C02DD7 #D061E1

Accessibility & contrast

On white

6.90
#9520A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9520A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9520A7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9520A7#FFFFFF#000000##FFFFFF
##9520A71.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#345EA4
Tritanopia (blue-blind)
#963D65
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9520a7;
/* rgb */ color: rgb(149, 32, 167);
/* oklch */ color: oklch(49.6% 0.211 321.8);
Tailwind
colors: {
  custom: {
    50: '#b86bc2',
    500: '#9520a7',
    950: '#000000',
  },
}
SCSS
$custom: #9520a7;
$custom-light: #b86bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9520a7",
  "rgb": {
    "r": 149,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 292,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49551,
    "c": 0.21141,
    "h": 321.8
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#9520A7
secondary
#6BC55D
accent
#EB3D54
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #9520A7

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

Preview Lab → · Contrast checker → · Palette generator →

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