#9921CA#9921CA

#9921CA is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.7% C 0.240 H 312.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9921CA
RGBrgb(153, 33, 202)
HSLhsl(283, 72%, 46%)
HSVhsv(283, 84%, 79%)
CMYKcmyk(24.3%, 83.7%, 0%, 20.8%)
CIE-LABlab(41.41, 70.04, -62.13)
CIE-LCHlch(41.41, 93.62, 318.43°)
OKLaboklab(52.69% 0.1638 -0.176)
OKLCHoklch(52.69% 0.24 312.9)
XYZxyz(24.3395, 12.1251, 56.9239)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9921CA #52CA21
analogous
#4521CA #9921CA #CA21A6
triadic
#9921CA #CA9921 #21CA99
tetradic
#9921CA #CA4521 #52CA21 #21A6CA
square
#9921CA #CA4521 #52CA21 #21A6CA
split-complementary
#9921CA #A6CA21 #21CA45
monochromatic
#491061 #711895 #9921CA #B447E1 #CA7CEA

Accessibility & contrast

On white

6.13
#9921CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9921CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9921CA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9921CA#FFFFFF#000000##FFFFFF
##9921CA1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#934E79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9921ca;
/* rgb */ color: rgb(153, 33, 202);
/* oklch */ color: oklch(52.7% 0.240 312.9);
Tailwind
colors: {
  custom: {
    50: '#bc6edb',
    500: '#9921ca',
    950: '#000000',
  },
}
SCSS
$custom: #9921ca;
$custom-light: #bc6edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9921ca",
  "rgb": {
    "r": 153,
    "g": 33,
    "b": 202
  },
  "hsl": {
    "h": 282.604,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52688,
    "c": 0.24043,
    "h": 312.9
  },
  "luminance": 0.12124
}

Semantic roles & 50–950 ramp

primary
#9921CA
secondary
#90D275
accent
#EF396E
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9921CA

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

Preview Lab → · Contrast checker → · Palette generator →

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