#90218A#90218A

#90218A is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.185 H 330.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#90218A
RGBrgb(144, 33, 138)
HSLhsl(303, 63%, 35%)
HSVhsv(303, 77%, 56%)
CMYKcmyk(0%, 77.1%, 4.2%, 43.5%)
CIE-LABlab(35.70, 56.82, -33.12)
CIE-LCHlch(35.70, 65.77, 329.76°)
OKLaboklab(47.03% 0.1614 -0.0914)
OKLCHoklch(47.03% 0.186 330.5)
XYZxyz(16.6328, 8.8533, 24.8727)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90218A #219027
analogous
#5E2190 #90218A #902153
triadic
#90218A #8A9021 #218A90
tetradic
#90218A #905E21 #219027 #215390
square
#90218A #905E21 #219027 #215390
split-complementary
#90218A #539021 #21905E
monochromatic
#2C0A2B #5E165A #90218A #C22CBA #D854D1

Accessibility & contrast

On white

7.58
#90218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#90218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90218A
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90218A#FFFFFF#000000##FFFFFF
##90218A1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8D
Deuteranopia (green-blind)
#445987
Tritanopia (blue-blind)
#963054
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #90218a;
/* rgb */ color: rgb(144, 33, 138);
/* oklch */ color: oklch(47.0% 0.185 330.5);
Tailwind
colors: {
  custom: {
    50: '#b46aac',
    500: '#90218a',
    950: '#000000',
  },
}
SCSS
$custom: #90218a;
$custom-light: #b46aac;
$custom-dark: #000000;
JSON
{
  "hex": "#90218a",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 303.243,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47027,
    "c": 0.1855,
    "h": 330.5
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#90218A
secondary
#51BB57
accent
#E64B42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90218A

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

Preview Lab → · Contrast checker → · Palette generator →

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