#902288#902288

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

Color values

HEX#902288
RGBrgb(144, 34, 136)
HSLhsl(304, 62%, 35%)
HSVhsv(304, 76%, 56%)
CMYKcmyk(0%, 76.4%, 5.6%, 43.5%)
CIE-LABlab(35.70, 56.19, -31.89)
CIE-LCHlch(35.70, 64.60, 330.42°)
OKLaboklab(46.99% 0.1605 -0.0879)
OKLCHoklch(46.99% 0.183 331.3)
XYZxyz(16.5176, 8.8523, 24.1265)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902288 #22902A
analogous
#612290 #902288 #902251
triadic
#902288 #889022 #228890
tetradic
#902288 #906122 #22902A #225190
square
#902288 #906122 #22902A #225190
split-complementary
#902288 #519022 #229061
monochromatic
#2D0B2A #5E1659 #902288 #C22EB7 #D755CE

Accessibility & contrast

On white

7.58
#902288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#902288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##902288#FFFFFF#000000##FFFFFF
##9022881.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)
#184A8B
Deuteranopia (green-blind)
#455985
Tritanopia (blue-blind)
#963053
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #902288;
/* rgb */ color: rgb(144, 34, 136);
/* oklch */ color: oklch(47.0% 0.183 331.3);
Tailwind
colors: {
  custom: {
    50: '#b46aab',
    500: '#902288',
    950: '#000000',
  },
}
SCSS
$custom: #902288;
$custom-light: #b46aab;
$custom-dark: #000000;
JSON
{
  "hex": "#902288",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 304.364,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46989,
    "c": 0.18294,
    "h": 331.3
  },
  "luminance": 0.08851
}

Semantic roles & 50–950 ramp

primary
#902288
secondary
#53BB5B
accent
#E54F43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #902288

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

Preview Lab → · Contrast checker → · Palette generator →

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