#902891#902891

#902891 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.183 H 327.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#902891
RGBrgb(144, 40, 145)
HSLhsl(299, 57%, 36%)
HSVhsv(299, 72%, 57%)
CMYKcmyk(0.7%, 72.4%, 0%, 43.1%)
CIE-LABlab(36.92, 55.66, -35.49)
CIE-LCHlch(36.92, 66.02, 327.48°)
OKLaboklab(48.03% 0.1548 -0.0984)
OKLCHoklch(48.03% 0.183 327.6)
XYZxyz(17.3710, 9.4924, 27.6999)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902891 #299128
analogous
#5C2891 #902891 #91285E
triadic
#902891 #919028 #289190
tetradic
#902891 #915C28 #299128 #285E91
square
#902891 #915C28 #299128 #285E91
split-complementary
#902891 #5E9128 #28915C
monochromatic
#310E31 #601B61 #902891 #C035C1 #D260D3

Accessibility & contrast

On white

7.25
#902891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#902891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902891
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902891#FFFFFF#000000##FFFFFF
##9028911.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144E94
Deuteranopia (green-blind)
#435B8E
Tritanopia (blue-blind)
#94385A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902891;
/* rgb */ color: rgb(144, 40, 145);
/* oklch */ color: oklch(48.0% 0.183 327.6);
Tailwind
colors: {
  custom: {
    50: '#b46db2',
    500: '#902891',
    950: '#000000',
  },
}
SCSS
$custom: #902891;
$custom-light: #b46db2;
$custom-dark: #000000;
JSON
{
  "hex": "#902891",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 299.429,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48025,
    "c": 0.1834,
    "h": 327.6
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#902891
secondary
#5DB95C
accent
#E04849
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902891

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

Preview Lab → · Contrast checker → · Palette generator →

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