#90298B#90298B

#90298B is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.177 H 330.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#90298B
RGBrgb(144, 41, 139)
HSLhsl(303, 56%, 36%)
HSVhsv(303, 72%, 56%)
CMYKcmyk(0%, 71.5%, 3.5%, 43.5%)
CIE-LABlab(36.71, 54.28, -32.15)
CIE-LCHlch(36.71, 63.08, 329.36°)
OKLaboklab(47.77% 0.1536 -0.0887)
OKLCHoklch(47.77% 0.177 330)
XYZxyz(16.9546, 9.3805, 25.3387)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90298B #29902E
analogous
#622990 #90298B #902958
triadic
#90298B #8B9029 #298B90
tetradic
#90298B #906229 #29902E #295890
square
#90298B #906229 #29902E #295890
split-complementary
#90298B #589029 #299062
monochromatic
#310E2F #601B5D #90298B #C037B9 #D261CD

Accessibility & contrast

On white

7.30
#90298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#90298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90298B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90298B#FFFFFF#000000##FFFFFF
##90298B1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8E
Deuteranopia (green-blind)
#475B88
Tritanopia (blue-blind)
#953657
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #90298b;
/* rgb */ color: rgb(144, 41, 139);
/* oklch */ color: oklch(47.8% 0.177 330.0);
Tailwind
colors: {
  custom: {
    50: '#b46dad',
    500: '#90298b',
    950: '#000000',
  },
}
SCSS
$custom: #90298b;
$custom-light: #b46dad;
$custom-dark: #000000;
JSON
{
  "hex": "#90298b",
  "rgb": {
    "r": 144,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 302.913,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47767,
    "c": 0.17738,
    "h": 330
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#90298B
secondary
#5DB861
accent
#DF5049
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #90298B

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

Preview Lab → · Contrast checker → · Palette generator →

#90298B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva