#902188#902188

#902188 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.184 H 331.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#902188
RGBrgb(144, 33, 136)
HSLhsl(304, 63%, 35%)
HSVhsv(304, 77%, 56%)
CMYKcmyk(0%, 77.1%, 5.6%, 43.5%)
CIE-LABlab(35.59, 56.50, -32.06)
CIE-LCHlch(35.59, 64.96, 330.43°)
OKLaboklab(46.91% 0.1614 -0.0884)
OKLCHoklch(46.91% 0.184 331.3)
XYZxyz(16.4894, 8.7959, 24.1171)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902188 #219029
analogous
#602190 #902188 #902151
triadic
#902188 #889021 #218890
tetradic
#902188 #906021 #219029 #215190
square
#902188 #906021 #219029 #215190
split-complementary
#902188 #519021 #219060
monochromatic
#2C0A2A #5E1659 #902188 #C22CB7 #D854CE

Accessibility & contrast

On white

7.61
#902188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#902188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902188
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902188#FFFFFF#000000##FFFFFF
##9021881.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164A8B
Deuteranopia (green-blind)
#455985
Tritanopia (blue-blind)
#962F53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #902188;
/* rgb */ color: rgb(144, 33, 136);
/* oklch */ color: oklch(46.9% 0.184 331.3);
Tailwind
colors: {
  custom: {
    50: '#b469ab',
    500: '#902188',
    950: '#000000',
  },
}
SCSS
$custom: #902188;
$custom-light: #b469ab;
$custom-dark: #000000;
JSON
{
  "hex": "#902188",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 304.324,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46911,
    "c": 0.18397,
    "h": 331.3
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#902188
secondary
#51BB59
accent
#E64E42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #902188

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

Preview Lab → · Contrast checker → · Palette generator →

#902188 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva