#9521C2#9521C2

#9521C2 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.5% C 0.233 H 313.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9521C2
RGBrgb(149, 33, 194)
HSLhsl(283, 71%, 45%)
HSVhsv(283, 83%, 76%)
CMYKcmyk(23.2%, 83%, 0%, 23.9%)
CIE-LABlab(40.20, 67.85, -59.46)
CIE-LCHlch(40.20, 90.22, 318.77°)
OKLaboklab(51.53% 0.1606 -0.1683)
OKLCHoklch(51.53% 0.233 313.7)
XYZxyz(22.6742, 11.3731, 52.0293)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9521C2 #4EC221
analogous
#4521C2 #9521C2 #C2219F
triadic
#9521C2 #C29521 #21C295
tetradic
#9521C2 #C24521 #4EC221 #219FC2
square
#9521C2 #C24521 #4EC221 #219FC2
split-complementary
#9521C2 #9FC221 #21C245
monochromatic
#450F59 #6D188E #9521C2 #B341DF #C876E8

Accessibility & contrast

On white

6.41
#9521C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9521C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9521C2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9521C2#FFFFFF#000000##FFFFFF
##9521C21.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0261BF
Tritanopia (blue-blind)
#904B74
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9521c2;
/* rgb */ color: rgb(149, 33, 194);
/* oklch */ color: oklch(51.5% 0.233 313.7);
Tailwind
colors: {
  custom: {
    50: '#b96dd5',
    500: '#9521c2',
    950: '#000000',
  },
}
SCSS
$custom: #9521c2;
$custom-light: #b96dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9521c2",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 194
  },
  "hsl": {
    "h": 283.23,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51534,
    "c": 0.23263,
    "h": 313.7
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

primary
#9521C2
secondary
#8ACF70
accent
#EE3A6C
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9521C2

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

Preview Lab → · Contrast checker → · Palette generator →

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