#9520AF#9520AF

#9520AF is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.1% C 0.218 H 319.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9520AF
RGBrgb(149, 32, 175)
HSLhsl(289, 69%, 41%)
HSVhsv(289, 82%, 69%)
CMYKcmyk(14.9%, 81.7%, 0%, 31.4%)
CIE-LABlab(38.76, 64.55, -50.59)
CIE-LCHlch(38.76, 82.01, 321.91°)
OKLaboklab(50.1% 0.165 -0.1423)
OKLCHoklch(50.1% 0.218 319.2)
XYZxyz(20.6478, 10.5188, 41.4919)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9520AF #3AAF20
analogous
#4D20AF #9520AF #AF2081
triadic
#9520AF #AF9520 #20AF95
tetradic
#9520AF #AF4D20 #3AAF20 #2081AF
square
#9520AF #AF4D20 #3AAF20 #2081AF
split-complementary
#9520AF #81AF20 #20AF4D
monochromatic
#3D0D48 #69177B #9520AF #BB33DA #CC66E3

Accessibility & contrast

On white

6.77
#9520AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9520AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9520AF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9520AF#FFFFFF#000000##FFFFFF
##9520AF1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#2C5FAC
Tritanopia (blue-blind)
#954169
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9520af;
/* rgb */ color: rgb(149, 32, 175);
/* oklch */ color: oklch(50.1% 0.218 319.2);
Tailwind
colors: {
  custom: {
    50: '#b96cc8',
    500: '#9520af',
    950: '#000000',
  },
}
SCSS
$custom: #9520af;
$custom-light: #b96cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9520af",
  "rgb": {
    "r": 149,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 289.091,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50097,
    "c": 0.21784,
    "h": 319.2
  },
  "luminance": 0.10518
}

Semantic roles & 50–950 ramp

primary
#9520AF
secondary
#75C862
accent
#EC3C5C
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9520AF

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

Preview Lab → · Contrast checker → · Palette generator →

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