#9020C2#9020C2

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

Color values

HEX#9020C2
RGBrgb(144, 32, 194)
HSLhsl(281, 72%, 44%)
HSVhsv(281, 84%, 76%)
CMYKcmyk(25.8%, 83.5%, 0%, 23.9%)
CIE-LABlab(39.34, 67.31, -60.89)
CIE-LCHlch(39.34, 90.77, 317.86°)
OKLaboklab(50.78% 0.1548 -0.1727)
OKLCHoklch(50.78% 0.232 311.9)
XYZxyz(21.7539, 10.8580, 51.9783)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9020C2 #52C220
analogous
#3F20C2 #9020C2 #C220A3
triadic
#9020C2 #C29020 #20C290
tetradic
#9020C2 #C23F20 #52C220 #20A3C2
square
#9020C2 #C23F20 #52C220 #20A3C2
split-complementary
#9020C2 #A3C220 #20C23F
monochromatic
#420F59 #69178D #9020C2 #AE40DF #C474E8

Accessibility & contrast

On white

6.62
#9020C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9020C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9020C2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9020C2#FFFFFF#000000##FFFFFF
##9020C21.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9020c2;
/* rgb */ color: rgb(144, 32, 194);
/* oklch */ color: oklch(50.8% 0.232 311.9);
Tailwind
colors: {
  custom: {
    50: '#b66cd5',
    500: '#9020c2',
    950: '#000000',
  },
}
SCSS
$custom: #9020c2;
$custom-light: #b66cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9020c2",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 194
  },
  "hsl": {
    "h": 281.481,
    "s": 71.681,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50779,
    "c": 0.23192,
    "h": 311.9
  },
  "luminance": 0.10857
}

Semantic roles & 50–950 ramp

primary
#9020C2
secondary
#8CCF6F
accent
#EE3971
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #9020C2

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

Preview Lab → · Contrast checker → · Palette generator →

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