#9020B3#9020B3

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

Color values

HEX#9020B3
RGBrgb(144, 32, 179)
HSLhsl(286, 70%, 41%)
HSVhsv(286, 82%, 70%)
CMYKcmyk(19.6%, 82.1%, 0%, 29.8%)
CIE-LABlab(38.23, 64.40, -53.86)
CIE-LCHlch(38.23, 83.95, 320.10°)
OKLaboklab(49.66% 0.1582 -0.152)
OKLCHoklch(49.66% 0.219 316.1)
XYZxyz(20.1535, 10.2178, 43.5497)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9020B3 #43B320
analogous
#4720B3 #9020B3 #B3208D
triadic
#9020B3 #B39020 #20B390
tetradic
#9020B3 #B34720 #43B320 #208DB3
square
#9020B3 #B34720 #43B320 #208DB3
split-complementary
#9020B3 #8DB320 #20B347
monochromatic
#3C0D4B #66177F #9020B3 #B335DB #C769E4

Accessibility & contrast

On white

6.90
#9020B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9020B3
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9020B3#FFFFFF#000000##FFFFFF
##9020B31.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9020b3;
/* rgb */ color: rgb(144, 32, 179);
/* oklch */ color: oklch(49.7% 0.219 316.1);
Tailwind
colors: {
  custom: {
    50: '#b56bcb',
    500: '#9020b3',
    950: '#000000',
  },
}
SCSS
$custom: #9020b3;
$custom-light: #b56bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#9020b3",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 285.714,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49657,
    "c": 0.21937,
    "h": 316.1
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#9020B3
secondary
#7DCA65
accent
#EC3B66
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #9020B3

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

Preview Lab → · Contrast checker → · Palette generator →

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