#9021A4#9021A4

#9021A4 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.206 H 320.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9021A4
RGBrgb(144, 33, 164)
HSLhsl(291, 66%, 39%)
HSVhsv(291, 80%, 64%)
CMYKcmyk(12.2%, 79.9%, 0%, 35.7%)
CIE-LABlab(37.30, 61.32, -46.41)
CIE-LCHlch(37.30, 76.90, 322.88°)
OKLaboklab(48.67% 0.1599 -0.1302)
OKLCHoklch(48.67% 0.206 320.8)
XYZxyz(18.7455, 9.6984, 35.9994)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9021A4 #35A421
analogous
#4E21A4 #9021A4 #A42176
triadic
#9021A4 #A49021 #21A490
tetradic
#9021A4 #A44E21 #35A421 #2176A4
square
#9021A4 #A44E21 #35A421 #2176A4
split-complementary
#9021A4 #76A421 #21A44E
monochromatic
#370C3E #631771 #9021A4 #BB2DD5 #CC60DF

Accessibility & contrast

On white

7.14
#9021A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9021A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9021A4
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9021A4#FFFFFF#000000##FFFFFF
##9021A41.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#315CA1
Tritanopia (blue-blind)
#913D63
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9021a4;
/* rgb */ color: rgb(144, 33, 164);
/* oklch */ color: oklch(48.7% 0.206 320.8);
Tailwind
colors: {
  custom: {
    50: '#b56bc0',
    500: '#9021a4',
    950: '#000000',
  },
}
SCSS
$custom: #9021a4;
$custom-light: #b56bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9021a4",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 164
  },
  "hsl": {
    "h": 290.84,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48672,
    "c": 0.20615,
    "h": 320.8
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#9021A4
secondary
#6DC45D
accent
#E93E58
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #9021A4

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

Preview Lab → · Contrast checker → · Palette generator →

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