#902887#902887

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

Color values

HEX#902887
RGBrgb(144, 40, 135)
HSLhsl(305, 57%, 36%)
HSVhsv(305, 72%, 56%)
CMYKcmyk(0%, 72.2%, 6.2%, 43.5%)
CIE-LABlab(36.36, 53.98, -30.22)
CIE-LCHlch(36.36, 61.86, 330.75°)
OKLaboklab(47.45% 0.1545 -0.0831)
OKLCHoklch(47.45% 0.175 331.7)
XYZxyz(16.6336, 9.1975, 23.8162)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902887 #289031
analogous
#652890 #902887 #902853
triadic
#902887 #879028 #288790
tetradic
#902887 #906528 #289031 #285390
square
#902887 #906528 #289031 #285390
split-complementary
#902887 #539028 #289065
monochromatic
#300D2D #601B5A #902887 #C035B4 #D360C9

Accessibility & contrast

On white

7.40
#902887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#902887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902887
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902887#FFFFFF#000000##FFFFFF
##9028871.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C8A
Deuteranopia (green-blind)
#485B84
Tritanopia (blue-blind)
#963354
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902887;
/* rgb */ color: rgb(144, 40, 135);
/* oklch */ color: oklch(47.4% 0.175 331.7);
Tailwind
colors: {
  custom: {
    50: '#b46caa',
    500: '#902887',
    950: '#000000',
  },
}
SCSS
$custom: #902887;
$custom-light: #b46caa;
$custom-dark: #000000;
JSON
{
  "hex": "#902887",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 305.192,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47448,
    "c": 0.17541,
    "h": 331.7
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#902887
secondary
#5CB864
accent
#E05548
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #902887

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

Preview Lab → · Contrast checker → · Palette generator →

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