#9021C2#9021C2

#9021C2 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.8% C 0.231 H 311.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9021C2
RGBrgb(144, 33, 194)
HSLhsl(281, 71%, 45%)
HSVhsv(281, 83%, 76%)
CMYKcmyk(25.8%, 83%, 0%, 23.9%)
CIE-LABlab(39.43, 67.04, -60.74)
CIE-LCHlch(39.43, 90.47, 317.82°)
OKLaboklab(50.84% 0.1542 -0.1723)
OKLCHoklch(50.84% 0.231 311.8)
XYZxyz(21.7812, 10.9127, 51.9874)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9021C2 #53C221
analogous
#3F21C2 #9021C2 #C221A4
triadic
#9021C2 #C29021 #21C290
tetradic
#9021C2 #C23F21 #53C221 #21A4C2
square
#9021C2 #C23F21 #53C221 #21A4C2
split-complementary
#9021C2 #A4C221 #21C23F
monochromatic
#420F59 #69188E #9021C2 #AE41DF #C476E8

Accessibility & contrast

On white

6.60
#9021C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9021C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9021C2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9021C2#FFFFFF#000000##FFFFFF
##9021C21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#8A4C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9021c2;
/* rgb */ color: rgb(144, 33, 194);
/* oklch */ color: oklch(50.8% 0.231 311.8);
Tailwind
colors: {
  custom: {
    50: '#b66cd5',
    500: '#9021c2',
    950: '#000000',
  },
}
SCSS
$custom: #9021c2;
$custom-light: #b66cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9021c2",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 194
  },
  "hsl": {
    "h": 281.366,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50844,
    "c": 0.23116,
    "h": 311.8
  },
  "luminance": 0.10912
}

Semantic roles & 50–950 ramp

primary
#9021C2
secondary
#8DCF70
accent
#EE3A72
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9021C2

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

Preview Lab → · Contrast checker → · Palette generator →

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