#9020BB#9020BB

#9020BB is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.2% C 0.226 H 313.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9020BB
RGBrgb(144, 32, 187)
HSLhsl(283, 71%, 43%)
HSVhsv(283, 83%, 73%)
CMYKcmyk(23%, 82.9%, 0%, 26.7%)
CIE-LABlab(38.81, 65.94, -57.64)
CIE-LCHlch(38.81, 87.58, 318.84°)
OKLaboklab(50.25% 0.1565 -0.1631)
OKLCHoklch(50.25% 0.226 313.8)
XYZxyz(20.9862, 10.5509, 47.9351)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9020BB #4BBB20
analogous
#4320BB #9020BB #BB2098
triadic
#9020BB #BB9020 #20BB90
tetradic
#9020BB #BB4320 #4BBB20 #2098BB
square
#9020BB #BB4320 #4BBB20 #2098BB
split-complementary
#9020BB #98BB20 #20BB43
monochromatic
#400E52 #681787 #9020BB #B03BDD #C56FE6

Accessibility & contrast

On white

6.75
#9020BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9020BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9020BB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9020BB#FFFFFF#000000##FFFFFF
##9020BB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#055EB8
Tritanopia (blue-blind)
#8B4870
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9020bb;
/* rgb */ color: rgb(144, 32, 187);
/* oklch */ color: oklch(50.2% 0.226 313.8);
Tailwind
colors: {
  custom: {
    50: '#b66cd0',
    500: '#9020bb',
    950: '#000000',
  },
}
SCSS
$custom: #9020bb;
$custom-light: #b66cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9020bb",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 283.355,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50247,
    "c": 0.22605,
    "h": 313.8
  },
  "luminance": 0.1055
}

Semantic roles & 50–950 ramp

primary
#9020BB
secondary
#85CD6A
accent
#EE3A6C
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #9020BB

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

Preview Lab → · Contrast checker → · Palette generator →

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