#9521AF#9521AF

#9521AF is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.217 H 319.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9521AF
RGBrgb(149, 33, 175)
HSLhsl(289, 68%, 41%)
HSVhsv(289, 81%, 69%)
CMYKcmyk(14.9%, 81.1%, 0%, 31.4%)
CIE-LABlab(38.85, 64.27, -50.44)
CIE-LCHlch(38.85, 81.70, 321.88°)
OKLaboklab(50.16% 0.1643 -0.1418)
OKLCHoklch(50.16% 0.217 319.2)
XYZxyz(20.6751, 10.5735, 41.5010)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9521AF #3BAF21
analogous
#4E21AF #9521AF #AF2182
triadic
#9521AF #AF9521 #21AF95
tetradic
#9521AF #AF4E21 #3BAF21 #2182AF
square
#9521AF #AF4E21 #3BAF21 #2182AF
split-complementary
#9521AF #82AF21 #21AF4E
monochromatic
#3D0E48 #69177C #9521AF #BB34D9 #CC68E3

Accessibility & contrast

On white

6.74
#9521AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9521AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9521AF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9521AF#FFFFFF#000000##FFFFFF
##9521AF1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9521af;
/* rgb */ color: rgb(149, 33, 175);
/* oklch */ color: oklch(50.2% 0.217 319.2);
Tailwind
colors: {
  custom: {
    50: '#b96cc8',
    500: '#9521af',
    950: '#000000',
  },
}
SCSS
$custom: #9521af;
$custom-light: #b96cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9521af",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 175
  },
  "hsl": {
    "h": 289.014,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50163,
    "c": 0.21701,
    "h": 319.2
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

primary
#9521AF
secondary
#76C864
accent
#EB3D5D
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9521AF

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

Preview Lab → · Contrast checker → · Palette generator →

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