#9020B4#9020B4

#9020B4 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.220 H 315.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9020B4
RGBrgb(144, 32, 180)
HSLhsl(285, 70%, 42%)
HSVhsv(285, 82%, 71%)
CMYKcmyk(20%, 82.2%, 0%, 29.4%)
CIE-LABlab(38.30, 64.59, -54.33)
CIE-LCHlch(38.30, 84.41, 319.93°)
OKLaboklab(49.73% 0.158 -0.1534)
OKLCHoklch(49.73% 0.22 315.8)
XYZxyz(20.2550, 10.2584, 44.0843)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9020B4 #44B420
analogous
#4620B4 #9020B4 #B4208E
triadic
#9020B4 #B49020 #20B490
tetradic
#9020B4 #B44620 #44B420 #208EB4
square
#9020B4 #B44620 #44B420 #208EB4
split-complementary
#9020B4 #8EB420 #20B446
monochromatic
#3D0E4C #661780 #9020B4 #B336DB #C76AE4

Accessibility & contrast

On white

6.88
#9020B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9020B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9020B4
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9020B4#FFFFFF#000000##FFFFFF
##9020B41.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#1B5DB1
Tritanopia (blue-blind)
#8D456C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9020b4;
/* rgb */ color: rgb(144, 32, 180);
/* oklch */ color: oklch(49.7% 0.220 315.8);
Tailwind
colors: {
  custom: {
    50: '#b56bcb',
    500: '#9020b4',
    950: '#000000',
  },
}
SCSS
$custom: #9020b4;
$custom-light: #b56bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#9020b4",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 180
  },
  "hsl": {
    "h": 285.405,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.2202,
    "h": 315.8
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#9020B4
secondary
#7ECA66
accent
#ED3B66
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #9020B4

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

Preview Lab → · Contrast checker → · Palette generator →

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