#9021B2#9021B2

#9021B2 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.7% C 0.218 H 316.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9021B2
RGBrgb(144, 33, 178)
HSLhsl(286, 69%, 41%)
HSVhsv(286, 81%, 70%)
CMYKcmyk(19.1%, 81.5%, 0%, 30.2%)
CIE-LABlab(38.26, 63.93, -53.22)
CIE-LCHlch(38.26, 83.18, 320.22°)
OKLaboklab(49.65% 0.1577 -0.1502)
OKLCHoklch(49.65% 0.218 316.4)
XYZxyz(20.0801, 10.2322, 43.0281)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9021B2 #43B221
analogous
#4821B2 #9021B2 #B2218C
triadic
#9021B2 #B29021 #21B290
tetradic
#9021B2 #B24821 #43B221 #218CB2
square
#9021B2 #B24821 #43B221 #218CB2
split-complementary
#9021B2 #8CB221 #21B248
monochromatic
#3C0E4B #66177E #9021B2 #B336DA #C76AE3

Accessibility & contrast

On white

6.89
#9021B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9021B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9021B2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9021B2#FFFFFF#000000##FFFFFF
##9021B21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#1F5DAF
Tritanopia (blue-blind)
#8E446B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9021b2;
/* rgb */ color: rgb(144, 33, 178);
/* oklch */ color: oklch(49.7% 0.218 316.4);
Tailwind
colors: {
  custom: {
    50: '#b56bca',
    500: '#9021b2',
    950: '#000000',
  },
}
SCSS
$custom: #9021b2;
$custom-light: #b56bca;
$custom-dark: #000000;
JSON
{
  "hex": "#9021b2",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 285.931,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49652,
    "c": 0.21772,
    "h": 316.4
  },
  "luminance": 0.10231
}

Semantic roles & 50–950 ramp

primary
#9021B2
secondary
#7DC966
accent
#EC3C65
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9021B2

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

Preview Lab → · Contrast checker → · Palette generator →

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