#902387#902387

#902387 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.181 H 331.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#902387
RGBrgb(144, 35, 135)
HSLhsl(305, 61%, 35%)
HSVhsv(305, 76%, 56%)
CMYKcmyk(0%, 75.7%, 6.2%, 43.5%)
CIE-LABlab(35.76, 55.70, -31.18)
CIE-LCHlch(35.76, 63.83, 330.76°)
OKLaboklab(47.01% 0.1595 -0.0858)
OKLCHoklch(47.01% 0.181 331.7)
XYZxyz(16.4758, 8.8820, 23.7636)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902387 #23902C
analogous
#622390 #902387 #902351
triadic
#902387 #879023 #238790
tetradic
#902387 #906223 #23902C #235190
square
#902387 #906223 #23902C #235190
split-complementary
#902387 #519023 #239062
monochromatic
#2E0B2B #5F1759 #902387 #C12FB5 #D657CC

Accessibility & contrast

On white

7.56
#902387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#902387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902387
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902387#FFFFFF#000000##FFFFFF
##9023871.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A8A
Deuteranopia (green-blind)
#465984
Tritanopia (blue-blind)
#963053
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #902387;
/* rgb */ color: rgb(144, 35, 135);
/* oklch */ color: oklch(47.0% 0.181 331.7);
Tailwind
colors: {
  custom: {
    50: '#b46aaa',
    500: '#902387',
    950: '#000000',
  },
}
SCSS
$custom: #902387;
$custom-light: #b46aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#902387",
  "rgb": {
    "r": 144,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 304.954,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47013,
    "c": 0.1811,
    "h": 331.7
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#902387
secondary
#54BA5D
accent
#E45144
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #902387

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

Preview Lab → · Contrast checker → · Palette generator →

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