#902299#902299

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

Color values

HEX#902299
RGBrgb(144, 34, 153)
HSLhsl(295, 64%, 37%)
HSVhsv(295, 78%, 60%)
CMYKcmyk(5.9%, 77.8%, 0%, 40%)
CIE-LABlab(36.70, 59.05, -40.72)
CIE-LCHlch(36.70, 71.73, 325.41°)
OKLaboklab(48.02% 0.1601 -0.1135)
OKLCHoklch(48.02% 0.196 324.7)
XYZxyz(17.8229, 9.3744, 31.0015)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902299 #2B9922
analogous
#552299 #902299 #992267
triadic
#902299 #999022 #229990
tetradic
#902299 #995522 #2B9922 #226799
square
#902299 #995522 #2B9922 #226799
split-complementary
#902299 #679922 #229955
monochromatic
#320C35 #611767 #902299 #BF2DCB #D15BDB

Accessibility & contrast

On white

7.31
#902299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902299
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902299#FFFFFF#000000##FFFFFF
##9022991.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #902299;
/* rgb */ color: rgb(144, 34, 153);
/* oklch */ color: oklch(48.0% 0.196 324.7);
Tailwind
colors: {
  custom: {
    50: '#b46bb7',
    500: '#902299',
    950: '#000000',
  },
}
SCSS
$custom: #902299;
$custom-light: #b46bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#902299",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 295.462,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48022,
    "c": 0.19627,
    "h": 324.7
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#902299
secondary
#60BF58
accent
#E7414E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #902299

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

Preview Lab → · Contrast checker → · Palette generator →

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