#902987#902987

#902987 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.174 H 331.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#902987
RGBrgb(144, 41, 135)
HSLhsl(305, 56%, 36%)
HSVhsv(305, 72%, 56%)
CMYKcmyk(0%, 71.5%, 6.2%, 43.5%)
CIE-LABlab(36.49, 53.61, -30.02)
CIE-LCHlch(36.49, 61.44, 330.75°)
OKLaboklab(47.54% 0.1534 -0.0825)
OKLCHoklch(47.54% 0.174 331.7)
XYZxyz(16.6677, 9.2658, 23.8276)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902987 #299032
analogous
#662990 #902987 #902954
triadic
#902987 #879029 #298790
tetradic
#902987 #906629 #299032 #295490
square
#902987 #906629 #299032 #295490
split-complementary
#902987 #549029 #299066
monochromatic
#310E2E #601B5A #902987 #C037B4 #D261C8

Accessibility & contrast

On white

7.36
#902987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#902987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902987
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902987#FFFFFF#000000##FFFFFF
##9029871.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8A
Deuteranopia (green-blind)
#495B84
Tritanopia (blue-blind)
#963455
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902987;
/* rgb */ color: rgb(144, 41, 135);
/* oklch */ color: oklch(47.5% 0.174 331.7);
Tailwind
colors: {
  custom: {
    50: '#b46daa',
    500: '#902987',
    950: '#000000',
  },
}
SCSS
$custom: #902987;
$custom-light: #b46daa;
$custom-dark: #000000;
JSON
{
  "hex": "#902987",
  "rgb": {
    "r": 144,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 305.243,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47541,
    "c": 0.1742,
    "h": 331.7
  },
  "luminance": 0.09264
}

Semantic roles & 50–950 ramp

primary
#902987
secondary
#5DB865
accent
#DF5649
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902987

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

Preview Lab → · Contrast checker → · Palette generator →

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