#902298#902298

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

Color values

HEX#902298
RGBrgb(144, 34, 152)
HSLhsl(296, 63%, 36%)
HSVhsv(296, 78%, 60%)
CMYKcmyk(5.3%, 77.6%, 0%, 40.4%)
CIE-LABlab(36.63, 58.88, -40.21)
CIE-LCHlch(36.63, 71.30, 325.67°)
OKLaboklab(47.96% 0.1602 -0.112)
OKLCHoklch(47.96% 0.195 325)
XYZxyz(17.7407, 9.3415, 30.5684)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902298 #2A9822
analogous
#552298 #902298 #982265
triadic
#902298 #989022 #229890
tetradic
#902298 #985522 #2A9822 #226598
square
#902298 #985522 #2A9822 #226598
split-complementary
#902298 #659822 #229855
monochromatic
#310C34 #611766 #902298 #BF2DCA #D15ADA

Accessibility & contrast

On white

7.32
#902298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#902298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902298
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902298#FFFFFF#000000##FFFFFF
##9022981.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #902298;
/* rgb */ color: rgb(144, 34, 152);
/* oklch */ color: oklch(48.0% 0.195 325.0);
Tailwind
colors: {
  custom: {
    50: '#b46bb7',
    500: '#902298',
    950: '#000000',
  },
}
SCSS
$custom: #902298;
$custom-light: #b46bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#902298",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 295.932,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47958,
    "c": 0.19546,
    "h": 325
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#902298
secondary
#5EBE57
accent
#E6414D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #902298

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

Preview Lab → · Contrast checker → · Palette generator →

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