#902787#902787

#902787 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.177 H 331.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#902787
RGBrgb(144, 39, 135)
HSLhsl(305, 57%, 36%)
HSVhsv(305, 73%, 56%)
CMYKcmyk(0%, 72.9%, 6.2%, 43.5%)
CIE-LABlab(36.24, 54.34, -30.42)
CIE-LCHlch(36.24, 62.27, 330.75°)
OKLaboklab(47.36% 0.1555 -0.0837)
OKLCHoklch(47.36% 0.177 331.7)
XYZxyz(16.6003, 9.1309, 23.8051)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902787 #279030
analogous
#642790 #902787 #902752
triadic
#902787 #879027 #278790
tetradic
#902787 #906427 #279030 #275290
square
#902787 #906427 #279030 #275290
split-complementary
#902787 #529027 #279064
monochromatic
#300D2D #601A5A #902787 #C034B4 #D35EC9

Accessibility & contrast

On white

7.43
#902787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#902787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902787
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902787#FFFFFF#000000##FFFFFF
##9027871.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8A
Deuteranopia (green-blind)
#485A84
Tritanopia (blue-blind)
#963354
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #902787;
/* rgb */ color: rgb(144, 39, 135);
/* oklch */ color: oklch(47.4% 0.177 331.7);
Tailwind
colors: {
  custom: {
    50: '#b46caa',
    500: '#902787',
    950: '#000000',
  },
}
SCSS
$custom: #902787;
$custom-light: #b46caa;
$custom-dark: #000000;
JSON
{
  "hex": "#902787",
  "rgb": {
    "r": 144,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 305.143,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47357,
    "c": 0.1766,
    "h": 331.7
  },
  "luminance": 0.0913
}

Semantic roles & 50–950 ramp

primary
#902787
secondary
#5AB962
accent
#E15447
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #902787

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

Preview Lab → · Contrast checker → · Palette generator →

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