#902488#902488

#902488 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.181 H 331.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#902488
RGBrgb(144, 36, 136)
HSLhsl(304, 60%, 35%)
HSVhsv(304, 75%, 56%)
CMYKcmyk(0%, 75%, 5.6%, 43.5%)
CIE-LABlab(35.93, 55.53, -31.53)
CIE-LCHlch(35.93, 63.86, 330.41°)
OKLaboklab(47.15% 0.1586 -0.0868)
OKLCHoklch(47.15% 0.181 331.3)
XYZxyz(16.5764, 8.9700, 24.1461)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902488 #24902C
analogous
#622490 #902488 #902452
triadic
#902488 #889024 #248890
tetradic
#902488 #906224 #24902C #245290
square
#902488 #906224 #24902C #245290
split-complementary
#902488 #529024 #249062
monochromatic
#2E0C2C #5F185A #902488 #C130B6 #D559CC

Accessibility & contrast

On white

7.52
#902488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902488
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902488#FFFFFF#000000##FFFFFF
##9024881.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8B
Deuteranopia (green-blind)
#465A85
Tritanopia (blue-blind)
#963154
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #902488;
/* rgb */ color: rgb(144, 36, 136);
/* oklch */ color: oklch(47.2% 0.181 331.3);
Tailwind
colors: {
  custom: {
    50: '#b46bab',
    500: '#902488',
    950: '#000000',
  },
}
SCSS
$custom: #902488;
$custom-light: #b46bab;
$custom-dark: #000000;
JSON
{
  "hex": "#902488",
  "rgb": {
    "r": 144,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 304.444,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47153,
    "c": 0.18078,
    "h": 331.3
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#902488
secondary
#56BA5D
accent
#E35045
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #902488

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

Preview Lab → · Contrast checker → · Palette generator →

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