#9522B1#9522B1

#9522B1 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.4% C 0.218 H 318.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9522B1
RGBrgb(149, 34, 177)
HSLhsl(288, 68%, 41%)
HSVhsv(288, 81%, 69%)
CMYKcmyk(15.8%, 80.8%, 0%, 30.6%)
CIE-LABlab(39.09, 64.36, -51.25)
CIE-LCHlch(39.09, 82.27, 321.47°)
OKLaboklab(50.37% 0.1632 -0.1442)
OKLCHoklch(50.37% 0.218 318.5)
XYZxyz(20.9012, 10.7090, 42.5525)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9522B1 #3EB122
analogous
#4E22B1 #9522B1 #B12286
triadic
#9522B1 #B19522 #22B195
tetradic
#9522B1 #B14E22 #3EB122 #2286B1
square
#9522B1 #B14E22 #3EB122 #2286B1
split-complementary
#9522B1 #86B122 #22B14E
monochromatic
#3F0E4A #6A187E #9522B1 #B938D9 #CB6BE3

Accessibility & contrast

On white

6.68
#9522B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9522B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9522B1
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9522B1#FFFFFF#000000##FFFFFF
##9522B11.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#2B60AE
Tritanopia (blue-blind)
#94436B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9522b1;
/* rgb */ color: rgb(149, 34, 177);
/* oklch */ color: oklch(50.4% 0.218 318.5);
Tailwind
colors: {
  custom: {
    50: '#b96cc9',
    500: '#9522b1',
    950: '#000000',
  },
}
SCSS
$custom: #9522b1;
$custom-light: #b96cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9522b1",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 177
  },
  "hsl": {
    "h": 288.252,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50371,
    "c": 0.21779,
    "h": 318.5
  },
  "luminance": 0.10708
}

Semantic roles & 50–950 ramp

primary
#9522B1
secondary
#79C966
accent
#EB3D5F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9522B1

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

Preview Lab → · Contrast checker → · Palette generator →

#9522B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva