#902888#902888

#902888 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.176 H 331.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#902888
RGBrgb(144, 40, 136)
HSLhsl(305, 57%, 36%)
HSVhsv(305, 72%, 56%)
CMYKcmyk(0%, 72.2%, 5.6%, 43.5%)
CIE-LABlab(36.42, 54.14, -30.76)
CIE-LCHlch(36.42, 62.27, 330.40°)
OKLaboklab(47.5% 0.1545 -0.0846)
OKLCHoklch(47.5% 0.176 331.3)
XYZxyz(16.7043, 9.2258, 24.1887)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902888 #289030
analogous
#642890 #902888 #902854
triadic
#902888 #889028 #288890
tetradic
#902888 #906428 #289030 #285490
square
#902888 #906428 #289030 #285490
split-complementary
#902888 #549028 #289064
monochromatic
#300D2E #601B5B #902888 #C035B5 #D360CA

Accessibility & contrast

On white

7.38
#902888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902888
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902888#FFFFFF#000000##FFFFFF
##9028881.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8B
Deuteranopia (green-blind)
#485B85
Tritanopia (blue-blind)
#963455
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902888;
/* rgb */ color: rgb(144, 40, 136);
/* oklch */ color: oklch(47.5% 0.176 331.3);
Tailwind
colors: {
  custom: {
    50: '#b46cab',
    500: '#902888',
    950: '#000000',
  },
}
SCSS
$custom: #902888;
$custom-light: #b46cab;
$custom-dark: #000000;
JSON
{
  "hex": "#902888",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 304.615,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47504,
    "c": 0.1762,
    "h": 331.3
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#902888
secondary
#5CB863
accent
#E05448
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #902888

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

Preview Lab → · Contrast checker → · Palette generator →

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