#90218B#90218B

#90218B is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.186 H 330.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#90218B
RGBrgb(144, 33, 139)
HSLhsl(303, 63%, 35%)
HSVhsv(303, 77%, 56%)
CMYKcmyk(0%, 77.1%, 3.5%, 43.5%)
CIE-LABlab(35.76, 56.99, -33.65)
CIE-LCHlch(35.76, 66.18, 329.44°)
OKLaboklab(47.09% 0.1614 -0.0929)
OKLCHoklch(47.09% 0.186 330.1)
XYZxyz(16.7056, 8.8824, 25.2557)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90218B #219026
analogous
#5E2190 #90218B #902153
triadic
#90218B #8B9021 #218B90
tetradic
#90218B #905E21 #219026 #215390
square
#90218B #905E21 #219026 #215390
split-complementary
#90218B #539021 #21905E
monochromatic
#2C0A2B #5E165B #90218B #C22CBB #D854D2

Accessibility & contrast

On white

7.56
#90218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#90218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90218B
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90218B#FFFFFF#000000##FFFFFF
##90218B1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114B8E
Deuteranopia (green-blind)
#435988
Tritanopia (blue-blind)
#963155
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #90218b;
/* rgb */ color: rgb(144, 33, 139);
/* oklch */ color: oklch(47.1% 0.186 330.1);
Tailwind
colors: {
  custom: {
    50: '#b46aad',
    500: '#90218b',
    950: '#000000',
  },
}
SCSS
$custom: #90218b;
$custom-light: #b46aad;
$custom-dark: #000000;
JSON
{
  "hex": "#90218b",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 302.703,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47086,
    "c": 0.18626,
    "h": 330.1
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#90218B
secondary
#51BB56
accent
#E64942
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90218B

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

Preview Lab → · Contrast checker → · Palette generator →

#90218B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva