#902399#902399

#902399 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.195 H 324.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#902399
RGBrgb(144, 35, 153)
HSLhsl(295, 63%, 37%)
HSVhsv(295, 77%, 60%)
CMYKcmyk(5.9%, 77.1%, 0%, 40%)
CIE-LABlab(36.80, 58.74, -40.55)
CIE-LCHlch(36.80, 71.37, 325.38°)
OKLaboklab(48.1% 0.1592 -0.113)
OKLCHoklch(48.1% 0.195 324.6)
XYZxyz(17.8519, 9.4324, 31.0112)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902399 #2C9923
analogous
#552399 #902399 #992367
triadic
#902399 #999023 #239990
tetradic
#902399 #995523 #2C9923 #236799
square
#902399 #995523 #2C9923 #236799
split-complementary
#902399 #679923 #239955
monochromatic
#320C35 #611867 #902399 #BF2ECB #D05DDA

Accessibility & contrast

On white

7.28
#902399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902399
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902399#FFFFFF#000000##FFFFFF
##9023991.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #902399;
/* rgb */ color: rgb(144, 35, 153);
/* oklch */ color: oklch(48.1% 0.195 324.6);
Tailwind
colors: {
  custom: {
    50: '#b46bb7',
    500: '#902399',
    950: '#000000',
  },
}
SCSS
$custom: #902399;
$custom-light: #b46bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#902399",
  "rgb": {
    "r": 144,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 295.424,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48099,
    "c": 0.19528,
    "h": 324.6
  },
  "luminance": 0.09431
}

Semantic roles & 50–950 ramp

primary
#902399
secondary
#61BE59
accent
#E6424E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #902399

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

Preview Lab → · Contrast checker → · Palette generator →

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