#902598#902598

#902598 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.192 H 324.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#902598
RGBrgb(144, 37, 152)
HSLhsl(296, 61%, 37%)
HSVhsv(296, 76%, 60%)
CMYKcmyk(5.3%, 75.7%, 0%, 40.4%)
CIE-LABlab(36.97, 57.92, -39.68)
CIE-LCHlch(36.97, 70.20, 325.59°)
OKLaboklab(48.2% 0.1575 -0.1105)
OKLCHoklch(48.2% 0.192 324.9)
XYZxyz(17.8302, 9.5206, 30.5982)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902598 #2D9825
analogous
#572598 #902598 #982567
triadic
#902598 #989025 #259890
tetradic
#902598 #985725 #2D9825 #256798
square
#902598 #985725 #2D9825 #256798
split-complementary
#902598 #679825 #259857
monochromatic
#330D36 #611967 #902598 #BF31C9 #D05FD8

Accessibility & contrast

On white

7.23
#902598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#902598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902598
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902598#FFFFFF#000000##FFFFFF
##9025981.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#3D5B95
Tritanopia (blue-blind)
#933A5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902598;
/* rgb */ color: rgb(144, 37, 152);
/* oklch */ color: oklch(48.2% 0.192 324.9);
Tailwind
colors: {
  custom: {
    50: '#b46cb7',
    500: '#902598',
    950: '#000000',
  },
}
SCSS
$custom: #902598;
$custom-light: #b46cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#902598",
  "rgb": {
    "r": 144,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 295.826,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48196,
    "c": 0.19242,
    "h": 324.9
  },
  "luminance": 0.09519
}

Semantic roles & 50–950 ramp

primary
#902598
secondary
#62BD5C
accent
#E4444F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #902598

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

Preview Lab → · Contrast checker → · Palette generator →

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