#90218D#90218D

#90218D is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.188 H 329.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#90218D
RGBrgb(144, 33, 141)
HSLhsl(302, 63%, 35%)
HSVhsv(302, 77%, 56%)
CMYKcmyk(0%, 77.1%, 2.1%, 43.5%)
CIE-LABlab(35.87, 57.32, -34.70)
CIE-LCHlch(35.87, 67.00, 328.81°)
OKLaboklab(47.2% 0.1614 -0.096)
OKLCHoklch(47.2% 0.188 329.3)
XYZxyz(16.8530, 8.9414, 26.0324)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90218D #219024
analogous
#5C2190 #90218D #902155
triadic
#90218D #8D9021 #218D90
tetradic
#90218D #905C21 #219024 #215590
square
#90218D #905C21 #219024 #215590
split-complementary
#90218D #559021 #21905C
monochromatic
#2C0A2B #5E165C #90218D #C22CBE #D854D4

Accessibility & contrast

On white

7.53
#90218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#90218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90218D
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90218D#FFFFFF#000000##FFFFFF
##90218D1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4B90
Deuteranopia (green-blind)
#42598A
Tritanopia (blue-blind)
#953256
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #90218d;
/* rgb */ color: rgb(144, 33, 141);
/* oklch */ color: oklch(47.2% 0.188 329.3);
Tailwind
colors: {
  custom: {
    50: '#b46aaf',
    500: '#90218d',
    950: '#000000',
  },
}
SCSS
$custom: #90218d;
$custom-light: #b46aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#90218d",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 301.622,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47204,
    "c": 0.1878,
    "h": 329.3
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#90218D
secondary
#51BB54
accent
#E64642
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90218D

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

Preview Lab → · Contrast checker → · Palette generator →

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