#902885#902885

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

Color values

HEX#902885
RGBrgb(144, 40, 133)
HSLhsl(306, 57%, 36%)
HSVhsv(306, 72%, 56%)
CMYKcmyk(0%, 72.2%, 7.6%, 43.5%)
CIE-LABlab(36.26, 53.65, -29.16)
CIE-LCHlch(36.26, 61.06, 331.48°)
OKLaboklab(47.34% 0.1543 -0.08)
OKLCHoklch(47.34% 0.174 332.6)
XYZxyz(16.4941, 9.1417, 23.0816)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902885 #289033
analogous
#672890 #902885 #902851
triadic
#902885 #859028 #288590
tetradic
#902885 #906728 #289033 #285190
square
#902885 #906728 #289033 #285190
split-complementary
#902885 #519028 #289067
monochromatic
#300D2D #601B59 #902885 #C035B1 #D360C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##902885#FFFFFF#000000##FFFFFF
##9028851.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)
#234C88
Deuteranopia (green-blind)
#495B82
Tritanopia (blue-blind)
#963353
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #902885;
/* rgb */ color: rgb(144, 40, 133);
/* oklch */ color: oklch(47.3% 0.174 332.6);
Tailwind
colors: {
  custom: {
    50: '#b46ca9',
    500: '#902885',
    950: '#000000',
  },
}
SCSS
$custom: #902885;
$custom-light: #b46ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#902885",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 306.346,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47337,
    "c": 0.17386,
    "h": 332.6
  },
  "luminance": 0.0914
}

Semantic roles & 50–950 ramp

primary
#902885
secondary
#5CB865
accent
#E05848
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #902885

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

Preview Lab → · Contrast checker → · Palette generator →

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