#902197#902197

#902197 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.196 H 325.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#902197
RGBrgb(144, 33, 151)
HSLhsl(296, 64%, 36%)
HSVhsv(296, 78%, 59%)
CMYKcmyk(4.6%, 78.1%, 0%, 40.8%)
CIE-LABlab(36.47, 59.01, -39.87)
CIE-LCHlch(36.47, 71.22, 325.95°)
OKLaboklab(47.82% 0.1611 -0.111)
OKLCHoklch(47.82% 0.196 325.4)
XYZxyz(17.6310, 9.2526, 30.1294)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902197 #289721
analogous
#552197 #902197 #972163
triadic
#902197 #979021 #219790
tetradic
#902197 #975521 #289721 #216397
square
#902197 #975521 #289721 #216397
split-complementary
#902197 #639721 #219755
monochromatic
#300B33 #601665 #902197 #C02CC9 #D358DA

Accessibility & contrast

On white

7.37
#902197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#902197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902197
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902197#FFFFFF#000000##FFFFFF
##9021971.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3C5A94
Tritanopia (blue-blind)
#93375C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902197;
/* rgb */ color: rgb(144, 33, 151);
/* oklch */ color: oklch(47.8% 0.196 325.4);
Tailwind
colors: {
  custom: {
    50: '#b46ab6',
    500: '#902197',
    950: '#000000',
  },
}
SCSS
$custom: #902197;
$custom-light: #b46ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#902197",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 296.441,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47819,
    "c": 0.19564,
    "h": 325.4
  },
  "luminance": 0.09251
}

Semantic roles & 50–950 ramp

primary
#902197
secondary
#5CBE55
accent
#E7414B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #902197

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

Preview Lab → · Contrast checker → · Palette generator →

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