#902181#902181

#902181 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.179 H 334.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#902181
RGBrgb(144, 33, 129)
HSLhsl(308, 63%, 35%)
HSVhsv(308, 77%, 56%)
CMYKcmyk(0%, 77.1%, 10.4%, 43.5%)
CIE-LABlab(35.21, 55.39, -28.32)
CIE-LCHlch(35.21, 62.21, 332.92°)
OKLaboklab(46.52% 0.1611 -0.0776)
OKLCHoklch(46.52% 0.179 334.3)
XYZxyz(16.0081, 8.6034, 21.5821)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902181 #219030
analogous
#682190 #902181 #90214A
triadic
#902181 #819021 #218190
tetradic
#902181 #906821 #219030 #214A90
square
#902181 #906821 #219030 #214A90
split-complementary
#902181 #4A9021 #219068
monochromatic
#2C0A28 #5E1654 #902181 #C22CAE #D854C6

Accessibility & contrast

On white

7.72
#902181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#902181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902181
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902181#FFFFFF#000000##FFFFFF
##9021811.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4884
Deuteranopia (green-blind)
#48597E
Tritanopia (blue-blind)
#972C4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902181;
/* rgb */ color: rgb(144, 33, 129);
/* oklch */ color: oklch(46.5% 0.179 334.3);
Tailwind
colors: {
  custom: {
    50: '#b469a6',
    500: '#902181',
    950: '#000000',
  },
}
SCSS
$custom: #902181;
$custom-light: #b469a6;
$custom-dark: #000000;
JSON
{
  "hex": "#902181",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 308.108,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.17876,
    "h": 334.3
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

primary
#902181
secondary
#51BB60
accent
#E65842
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #902181

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

Preview Lab → · Contrast checker → · Palette generator →

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