#9020B2#9020B2

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

Color values

HEX#9020B2
RGBrgb(144, 32, 178)
HSLhsl(286, 70%, 41%)
HSVhsv(286, 82%, 70%)
CMYKcmyk(19.1%, 82%, 0%, 30.2%)
CIE-LABlab(38.16, 64.21, -53.38)
CIE-LCHlch(38.16, 83.50, 320.26°)
OKLaboklab(49.58% 0.1584 -0.1506)
OKLCHoklch(49.58% 0.219 316.4)
XYZxyz(20.0527, 10.1775, 43.0190)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9020B2 #42B220
analogous
#4720B2 #9020B2 #B2208B
triadic
#9020B2 #B29020 #20B290
tetradic
#9020B2 #B24720 #42B220 #208BB2
square
#9020B2 #B24720 #42B220 #208BB2
split-complementary
#9020B2 #8BB220 #20B247
monochromatic
#3C0D4A #66177E #9020B2 #B435DB #C768E4

Accessibility & contrast

On white

6.92
#9020B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9020B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9020B2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9020B2#FFFFFF#000000##FFFFFF
##9020B21.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9020b2;
/* rgb */ color: rgb(144, 32, 178);
/* oklch */ color: oklch(49.6% 0.219 316.4);
Tailwind
colors: {
  custom: {
    50: '#b56bca',
    500: '#9020b2',
    950: '#000000',
  },
}
SCSS
$custom: #9020b2;
$custom-light: #b56bca;
$custom-dark: #000000;
JSON
{
  "hex": "#9020b2",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 178
  },
  "hsl": {
    "h": 286.027,
    "s": 69.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.21854,
    "h": 316.4
  },
  "luminance": 0.10177
}

Semantic roles & 50–950 ramp

primary
#9020B2
secondary
#7CCA64
accent
#EC3B65
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9020B2

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

Preview Lab → · Contrast checker → · Palette generator →

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