#90218E#90218E

#90218E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.189 H 328.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#90218E
RGBrgb(144, 33, 142)
HSLhsl(301, 63%, 35%)
HSVhsv(301, 77%, 56%)
CMYKcmyk(0%, 77.1%, 1.4%, 43.5%)
CIE-LABlab(35.93, 57.48, -35.22)
CIE-LCHlch(35.93, 67.41, 328.50°)
OKLaboklab(47.26% 0.1614 -0.0975)
OKLCHoklch(47.26% 0.189 328.9)
XYZxyz(16.9278, 8.9713, 26.4260)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90218E #219023
analogous
#5B2190 #90218E #902157
triadic
#90218E #8E9021 #218E90
tetradic
#90218E #905B21 #219023 #215790
square
#90218E #905B21 #219023 #215790
split-complementary
#90218E #579021 #21905B
monochromatic
#2C0A2C #5E165D #90218E #C22CBF #D854D5

Accessibility & contrast

On white

7.52
#90218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90218E
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90218E#FFFFFF#000000##FFFFFF
##90218E1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4B91
Deuteranopia (green-blind)
#425A8B
Tritanopia (blue-blind)
#953256
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #90218e;
/* rgb */ color: rgb(144, 33, 142);
/* oklch */ color: oklch(47.3% 0.189 328.9);
Tailwind
colors: {
  custom: {
    50: '#b46aaf',
    500: '#90218e',
    950: '#000000',
  },
}
SCSS
$custom: #90218e;
$custom-light: #b46aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#90218e",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 301.081,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47264,
    "c": 0.18857,
    "h": 328.9
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#90218E
secondary
#51BB53
accent
#E64542
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90218E

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

Preview Lab → · Contrast checker → · Palette generator →

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