#902187#902187

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

Color values

HEX#902187
RGBrgb(144, 33, 135)
HSLhsl(305, 63%, 35%)
HSVhsv(305, 77%, 56%)
CMYKcmyk(0%, 77.1%, 6.2%, 43.5%)
CIE-LABlab(35.53, 56.34, -31.53)
CIE-LCHlch(35.53, 64.56, 330.76°)
OKLaboklab(46.85% 0.1613 -0.0868)
OKLCHoklch(46.85% 0.183 331.7)
XYZxyz(16.4187, 8.7676, 23.7446)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902187 #21902A
analogous
#622190 #902187 #902150
triadic
#902187 #879021 #218790
tetradic
#902187 #906221 #21902A #215090
square
#902187 #906221 #21902A #215090
split-complementary
#902187 #509021 #219062
monochromatic
#2C0A2A #5E1658 #902187 #C22CB6 #D854CD

Accessibility & contrast

On white

7.63
#902187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#902187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902187
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902187#FFFFFF#000000##FFFFFF
##9021871.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174A8A
Deuteranopia (green-blind)
#455984
Tritanopia (blue-blind)
#962F53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #902187;
/* rgb */ color: rgb(144, 33, 135);
/* oklch */ color: oklch(46.9% 0.183 331.7);
Tailwind
colors: {
  custom: {
    50: '#b469aa',
    500: '#902187',
    950: '#000000',
  },
}
SCSS
$custom: #902187;
$custom-light: #b469aa;
$custom-dark: #000000;
JSON
{
  "hex": "#902187",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 304.865,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46853,
    "c": 0.18322,
    "h": 331.7
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#902187
secondary
#51BB5A
accent
#E64F42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #902187

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

Preview Lab → · Contrast checker → · Palette generator →

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