#902281#902281

#902281 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.178 H 334.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#902281
RGBrgb(144, 34, 129)
HSLhsl(308, 62%, 35%)
HSVhsv(308, 76%, 56%)
CMYKcmyk(0%, 76.4%, 10.4%, 43.5%)
CIE-LABlab(35.32, 55.08, -28.14)
CIE-LCHlch(35.32, 61.85, 332.93°)
OKLaboklab(46.6% 0.1601 -0.0771)
OKLCHoklch(46.6% 0.178 334.3)
XYZxyz(16.0362, 8.6597, 21.5915)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902281 #229031
analogous
#682290 #902281 #90224A
triadic
#902281 #819022 #228190
tetradic
#902281 #906822 #229031 #224A90
square
#902281 #906822 #229031 #224A90
split-complementary
#902281 #4A9022 #229068
monochromatic
#2D0B28 #5E1655 #902281 #C22EAD #D755C5

Accessibility & contrast

On white

7.69
#902281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#902281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902281
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902281#FFFFFF#000000##FFFFFF
##9022811.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204984
Deuteranopia (green-blind)
#49597E
Tritanopia (blue-blind)
#972C4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902281;
/* rgb */ color: rgb(144, 34, 129);
/* oklch */ color: oklch(46.6% 0.178 334.3);
Tailwind
colors: {
  custom: {
    50: '#b46aa6',
    500: '#902281',
    950: '#000000',
  },
}
SCSS
$custom: #902281;
$custom-light: #b46aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#902281",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 308.182,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46596,
    "c": 0.1777,
    "h": 334.3
  },
  "luminance": 0.08658
}

Semantic roles & 50–950 ramp

primary
#902281
secondary
#53BB61
accent
#E55943
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #902281

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

Preview Lab → · Contrast checker → · Palette generator →

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