#9721CA#9721CA

#9721CA is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.4% C 0.240 H 312.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9721CA
RGBrgb(151, 33, 202)
HSLhsl(282, 72%, 46%)
HSVhsv(282, 84%, 79%)
CMYKcmyk(25.2%, 83.7%, 0%, 20.8%)
CIE-LABlab(41.11, 69.72, -62.64)
CIE-LCHlch(41.11, 93.73, 318.06°)
OKLaboklab(52.41% 0.1612 -0.1776)
OKLCHoklch(52.41% 0.24 312.2)
XYZxyz(23.9650, 11.9320, 56.9063)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9721CA #54CA21
analogous
#4221CA #9721CA #CA21A8
triadic
#9721CA #CA9721 #21CA97
tetradic
#9721CA #CA4221 #54CA21 #21A8CA
square
#9721CA #CA4221 #54CA21 #21A8CA
split-complementary
#9721CA #A8CA21 #21CA42
monochromatic
#481061 #701895 #9721CA #B347E1 #C87CEA

Accessibility & contrast

On white

6.20
#9721CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9721CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9721CA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9721CA#FFFFFF#000000##FFFFFF
##9721CA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#914E79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9721ca;
/* rgb */ color: rgb(151, 33, 202);
/* oklch */ color: oklch(52.4% 0.240 312.2);
Tailwind
colors: {
  custom: {
    50: '#bb6edb',
    500: '#9721ca',
    950: '#000000',
  },
}
SCSS
$custom: #9721ca;
$custom-light: #bb6edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9721ca",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 202
  },
  "hsl": {
    "h": 281.893,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52414,
    "c": 0.23985,
    "h": 312.2
  },
  "luminance": 0.11931
}

Semantic roles & 50–950 ramp

primary
#9721CA
secondary
#91D275
accent
#EF3970
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9721CA

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

Preview Lab → · Contrast checker → · Palette generator →

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