#902487#902487

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

Color values

HEX#902487
RGBrgb(144, 36, 135)
HSLhsl(305, 60%, 35%)
HSVhsv(305, 75%, 56%)
CMYKcmyk(0%, 75%, 6.2%, 43.5%)
CIE-LABlab(35.87, 55.37, -31.00)
CIE-LCHlch(35.87, 63.46, 330.76°)
OKLaboklab(47.1% 0.1585 -0.0853)
OKLCHoklch(47.1% 0.18 331.7)
XYZxyz(16.5057, 8.9417, 23.7736)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902487 #24902D
analogous
#632490 #902487 #902451
triadic
#902487 #879024 #248790
tetradic
#902487 #906324 #24902D #245190
square
#902487 #906324 #24902D #245190
split-complementary
#902487 #519024 #249063
monochromatic
#2E0C2B #5F1859 #902487 #C130B5 #D559CB

Accessibility & contrast

On white

7.53
#902487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#902487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902487
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902487#FFFFFF#000000##FFFFFF
##9024871.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B8A
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#963153
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #902487;
/* rgb */ color: rgb(144, 36, 135);
/* oklch */ color: oklch(47.1% 0.180 331.7);
Tailwind
colors: {
  custom: {
    50: '#b46baa',
    500: '#902487',
    950: '#000000',
  },
}
SCSS
$custom: #902487;
$custom-light: #b46baa;
$custom-dark: #000000;
JSON
{
  "hex": "#902487",
  "rgb": {
    "r": 144,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 305,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47096,
    "c": 0.18001,
    "h": 331.7
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#902487
secondary
#56BA5E
accent
#E35245
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #902487

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

Preview Lab → · Contrast checker → · Palette generator →

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