#9521CA#9521CA

#9521CA is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 52.1% C 0.239 H 311.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9521CA
RGBrgb(149, 33, 202)
HSLhsl(281, 72%, 46%)
HSVhsv(281, 84%, 79%)
CMYKcmyk(26.2%, 83.7%, 0%, 20.8%)
CIE-LABlab(40.80, 69.41, -63.15)
CIE-LCHlch(40.80, 93.84, 317.70°)
OKLaboklab(52.14% 0.1586 -0.1791)
OKLCHoklch(52.14% 0.239 311.5)
XYZxyz(23.5969, 11.7422, 56.8891)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9521CA #56CA21
analogous
#4021CA #9521CA #CA21AA
triadic
#9521CA #CA9521 #21CA95
tetradic
#9521CA #CA4021 #56CA21 #21AACA
square
#9521CA #CA4021 #56CA21 #21AACA
split-complementary
#9521CA #AACA21 #21CA40
monochromatic
#471061 #6E1895 #9521CA #B147E1 #C77CEA

Accessibility & contrast

On white

6.27
#9521CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9521CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9521CA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9521CA#FFFFFF#000000##FFFFFF
##9521CA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#8E4F79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9521ca;
/* rgb */ color: rgb(149, 33, 202);
/* oklch */ color: oklch(52.1% 0.239 311.5);
Tailwind
colors: {
  custom: {
    50: '#ba6ddb',
    500: '#9521ca',
    950: '#000000',
  },
}
SCSS
$custom: #9521ca;
$custom-light: #ba6ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#9521ca",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 202
  },
  "hsl": {
    "h": 281.183,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52141,
    "c": 0.23929,
    "h": 311.5
  },
  "luminance": 0.11742
}

Semantic roles & 50–950 ramp

primary
#9521CA
secondary
#92D275
accent
#EF3972
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #9521CA

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

Preview Lab → · Contrast checker → · Palette generator →

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