#9021AE#9021AE

#9021AE is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.214 H 317.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9021AE
RGBrgb(144, 33, 174)
HSLhsl(287, 68%, 41%)
HSVhsv(287, 81%, 68%)
CMYKcmyk(17.2%, 81%, 0%, 31.8%)
CIE-LABlab(37.97, 63.17, -51.30)
CIE-LCHlch(37.97, 81.38, 320.92°)
OKLaboklab(49.37% 0.1584 -0.1445)
OKLCHoklch(49.37% 0.214 317.6)
XYZxyz(19.6843, 10.0739, 40.9438)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9021AE #3FAE21
analogous
#4921AE #9021AE #AE2185
triadic
#9021AE #AE9021 #21AE90
tetradic
#9021AE #AE4921 #3FAE21 #2185AE
square
#9021AE #AE4921 #3FAE21 #2185AE
split-complementary
#9021AE #85AE21 #21AE49
monochromatic
#3B0D47 #65177B #9021AE #B534D8 #C867E2

Accessibility & contrast

On white

6.97
#9021AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9021AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9021AE
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9021AE#FFFFFF#000000##FFFFFF
##9021AE1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#265DAB
Tritanopia (blue-blind)
#8F4269
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9021ae;
/* rgb */ color: rgb(144, 33, 174);
/* oklch */ color: oklch(49.4% 0.214 317.6);
Tailwind
colors: {
  custom: {
    50: '#b56bc7',
    500: '#9021ae',
    950: '#000000',
  },
}
SCSS
$custom: #9021ae;
$custom-light: #b56bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9021ae",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 174
  },
  "hsl": {
    "h": 287.234,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49366,
    "c": 0.21439,
    "h": 317.6
  },
  "luminance": 0.10073
}

Semantic roles & 50–950 ramp

primary
#9021AE
secondary
#78C863
accent
#EB3D62
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9021AE

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

Preview Lab → · Contrast checker → · Palette generator →

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