#9522B4#9522B4

#9522B4 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.6% C 0.220 H 317.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9522B4
RGBrgb(149, 34, 180)
HSLhsl(287, 68%, 42%)
HSVhsv(287, 81%, 71%)
CMYKcmyk(17.2%, 81.1%, 0%, 29.4%)
CIE-LABlab(39.29, 64.91, -52.69)
CIE-LCHlch(39.29, 83.61, 320.93°)
OKLaboklab(50.58% 0.1627 -0.1484)
OKLCHoklch(50.58% 0.22 317.6)
XYZxyz(21.2035, 10.8299, 44.1447)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9522B4 #41B422
analogous
#4C22B4 #9522B4 #B4228A
triadic
#9522B4 #B49522 #22B495
tetradic
#9522B4 #B44C22 #41B422 #228AB4
square
#9522B4 #B44C22 #41B422 #228AB4
split-complementary
#9522B4 #8AB422 #22B44C
monochromatic
#400F4D #6A1881 #9522B4 #B83ADA #CA6DE3

Accessibility & contrast

On white

6.63
#9522B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9522B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9522B4
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9522B4#FFFFFF#000000##FFFFFF
##9522B41.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#2760B1
Tritanopia (blue-blind)
#94456C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9522b4;
/* rgb */ color: rgb(149, 34, 180);
/* oklch */ color: oklch(50.6% 0.220 317.6);
Tailwind
colors: {
  custom: {
    50: '#b96dcb',
    500: '#9522b4',
    950: '#000000',
  },
}
SCSS
$custom: #9522b4;
$custom-light: #b96dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#9522b4",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 180
  },
  "hsl": {
    "h": 287.26,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50581,
    "c": 0.22025,
    "h": 317.6
  },
  "luminance": 0.10829
}

Semantic roles & 50–950 ramp

primary
#9522B4
secondary
#7DCA68
accent
#EB3D62
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9522B4

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

Preview Lab → · Contrast checker → · Palette generator →

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