#902498#902498

#902498 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.193 H 325.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#902498
RGBrgb(144, 36, 152)
HSLhsl(296, 62%, 37%)
HSVhsv(296, 76%, 60%)
CMYKcmyk(5.3%, 76.3%, 0%, 40.4%)
CIE-LABlab(36.85, 58.24, -39.86)
CIE-LCHlch(36.85, 70.58, 325.61°)
OKLaboklab(48.12% 0.1584 -0.111)
OKLCHoklch(48.12% 0.193 325)
XYZxyz(17.7995, 9.4592, 30.5880)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902498 #2C9824
analogous
#562498 #902498 #982466
triadic
#902498 #989024 #249890
tetradic
#902498 #985624 #2C9824 #246698
square
#902498 #985624 #2C9824 #246698
split-complementary
#902498 #669824 #249856
monochromatic
#320D35 #611867 #902498 #BF30C9 #D05ED9

Accessibility & contrast

On white

7.26
#902498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#902498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902498
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902498#FFFFFF#000000##FFFFFF
##9024981.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#3D5B95
Tritanopia (blue-blind)
#93395D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902498;
/* rgb */ color: rgb(144, 36, 152);
/* oklch */ color: oklch(48.1% 0.193 325.0);
Tailwind
colors: {
  custom: {
    50: '#b46bb7',
    500: '#902498',
    950: '#000000',
  },
}
SCSS
$custom: #902498;
$custom-light: #b46bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#902498",
  "rgb": {
    "r": 144,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 295.862,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48115,
    "c": 0.19345,
    "h": 325
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#902498
secondary
#61BE5A
accent
#E5434E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #902498

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

Preview Lab → · Contrast checker → · Palette generator →

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