#902398#902398

#902398 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.194 H 325.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#902398
RGBrgb(144, 35, 152)
HSLhsl(296, 63%, 37%)
HSVhsv(296, 77%, 60%)
CMYKcmyk(5.3%, 77%, 0%, 40.4%)
CIE-LABlab(36.74, 58.56, -40.04)
CIE-LCHlch(36.74, 70.94, 325.64°)
OKLaboklab(48.04% 0.1593 -0.1115)
OKLCHoklch(48.04% 0.194 325)
XYZxyz(17.7697, 9.3995, 30.5780)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902398 #2B9823
analogous
#552398 #902398 #982366
triadic
#902398 #989023 #239890
tetradic
#902398 #985523 #2B9823 #236698
square
#902398 #985523 #2B9823 #236698
split-complementary
#902398 #669823 #239855
monochromatic
#320C35 #611866 #902398 #BF2ECA #D15CD9

Accessibility & contrast

On white

7.29
#902398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#902398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902398
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902398#FFFFFF#000000##FFFFFF
##9023981.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#3C5B95
Tritanopia (blue-blind)
#93385D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902398;
/* rgb */ color: rgb(144, 35, 152);
/* oklch */ color: oklch(48.0% 0.194 325.0);
Tailwind
colors: {
  custom: {
    50: '#b46bb7',
    500: '#902398',
    950: '#000000',
  },
}
SCSS
$custom: #902398;
$custom-light: #b46bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#902398",
  "rgb": {
    "r": 144,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 295.897,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48035,
    "c": 0.19447,
    "h": 325
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#902398
secondary
#60BE59
accent
#E6424D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #902398

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

Preview Lab → · Contrast checker → · Palette generator →

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