#902196#902196

#902196 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.195 H 325.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#902196
RGBrgb(144, 33, 150)
HSLhsl(297, 64%, 36%)
HSVhsv(297, 78%, 59%)
CMYKcmyk(4%, 78%, 0%, 41.2%)
CIE-LABlab(36.40, 58.84, -39.36)
CIE-LCHlch(36.40, 70.79, 326.22°)
OKLaboklab(47.76% 0.1611 -0.1096)
OKLCHoklch(47.76% 0.195 325.8)
XYZxyz(17.5501, 9.2202, 29.7036)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902196 #279621
analogous
#552196 #902196 #962161
triadic
#902196 #969021 #219690
tetradic
#902196 #965521 #279621 #216196
square
#902196 #965521 #279621 #216196
split-complementary
#902196 #619621 #219655
monochromatic
#300B32 #601664 #902196 #C02CC8 #D357DA

Accessibility & contrast

On white

7.38
#902196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#902196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902196
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902196#FFFFFF#000000##FFFFFF
##9021961.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#3D5A93
Tritanopia (blue-blind)
#94365B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902196;
/* rgb */ color: rgb(144, 33, 150);
/* oklch */ color: oklch(47.8% 0.195 325.8);
Tailwind
colors: {
  custom: {
    50: '#b46ab5',
    500: '#902196',
    950: '#000000',
  },
}
SCSS
$custom: #902196;
$custom-light: #b46ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#902196",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 296.923,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47756,
    "c": 0.19485,
    "h": 325.8
  },
  "luminance": 0.09219
}

Semantic roles & 50–950 ramp

primary
#902196
secondary
#5ABE55
accent
#E74149
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #902196

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

Preview Lab → · Contrast checker → · Palette generator →

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