#90218F#90218F

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

Color values

HEX#90218F
RGBrgb(144, 33, 143)
HSLhsl(301, 63%, 35%)
HSVhsv(301, 77%, 56%)
CMYKcmyk(0%, 77.1%, 0.7%, 43.5%)
CIE-LABlab(35.99, 57.65, -35.74)
CIE-LCHlch(35.99, 67.83, 328.20°)
OKLaboklab(47.32% 0.1614 -0.099)
OKLCHoklch(47.32% 0.189 328.5)
XYZxyz(17.0032, 9.0014, 26.8232)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90218F #219022
analogous
#5A2190 #90218F #902157
triadic
#90218F #8F9021 #218F90
tetradic
#90218F #905A21 #219022 #215790
square
#90218F #905A21 #219022 #215790
split-complementary
#90218F #579021 #21905A
monochromatic
#2C0A2C #5E165E #90218F #C22CC0 #D854D7

Accessibility & contrast

On white

7.50
#90218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#90218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90218F
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90218F#FFFFFF#000000##FFFFFF
##90218F1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074B92
Deuteranopia (green-blind)
#415A8C
Tritanopia (blue-blind)
#953357
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #90218f;
/* rgb */ color: rgb(144, 33, 143);
/* oklch */ color: oklch(47.3% 0.189 328.5);
Tailwind
colors: {
  custom: {
    50: '#b46ab0',
    500: '#90218f',
    950: '#000000',
  },
}
SCSS
$custom: #90218f;
$custom-light: #b46ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#90218f",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 300.541,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47324,
    "c": 0.18934,
    "h": 328.5
  },
  "luminance": 0.09
}

Semantic roles & 50–950 ramp

primary
#90218F
secondary
#51BB52
accent
#E64442
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #90218F

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

Preview Lab → · Contrast checker → · Palette generator →

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