#902199#902199

#902199 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.197 H 324.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#902199
RGBrgb(144, 33, 153)
HSLhsl(296, 65%, 36%)
HSVhsv(296, 78%, 60%)
CMYKcmyk(5.9%, 78.4%, 0%, 40%)
CIE-LABlab(36.59, 59.36, -40.89)
CIE-LCHlch(36.59, 72.08, 325.44°)
OKLaboklab(47.95% 0.1609 -0.114)
OKLCHoklch(47.95% 0.197 324.7)
XYZxyz(17.7948, 9.3181, 30.9921)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902199 #2A9921
analogous
#542199 #902199 #992166
triadic
#902199 #999021 #219990
tetradic
#902199 #995421 #2A9921 #216699
square
#902199 #995421 #2A9921 #216699
split-complementary
#902199 #669921 #219954
monochromatic
#310B34 #611667 #902199 #BF2CCB #D159DB

Accessibility & contrast

On white

7.33
#902199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#902199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902199
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902199#FFFFFF#000000##FFFFFF
##9021991.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #902199;
/* rgb */ color: rgb(144, 33, 153);
/* oklch */ color: oklch(47.9% 0.197 324.7);
Tailwind
colors: {
  custom: {
    50: '#b46ab7',
    500: '#902199',
    950: '#000000',
  },
}
SCSS
$custom: #902199;
$custom-light: #b46ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#902199",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 295.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47946,
    "c": 0.19724,
    "h": 324.7
  },
  "luminance": 0.09317
}

Semantic roles & 50–950 ramp

primary
#902199
secondary
#5EBF56
accent
#E8404D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #902199

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

Preview Lab → · Contrast checker → · Palette generator →

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