#902284#902284

#902284 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.180 H 333.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#902284
RGBrgb(144, 34, 132)
HSLhsl(307, 62%, 35%)
HSVhsv(307, 76%, 56%)
CMYKcmyk(0%, 76.4%, 8.3%, 43.5%)
CIE-LABlab(35.48, 55.55, -29.76)
CIE-LCHlch(35.48, 63.01, 331.82°)
OKLaboklab(46.76% 0.1603 -0.0817)
OKLCHoklch(46.76% 0.18 333)
XYZxyz(16.2386, 8.7407, 22.6572)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902284 #22902E
analogous
#652290 #902284 #90224D
triadic
#902284 #849022 #228490
tetradic
#902284 #906522 #22902E #224D90
square
#902284 #906522 #22902E #224D90
split-complementary
#902284 #4D9022 #229065
monochromatic
#2D0B29 #5E1657 #902284 #C22EB1 #D755C9

Accessibility & contrast

On white

7.64
#902284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#902284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902284
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902284#FFFFFF#000000##FFFFFF
##9022841.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4987
Deuteranopia (green-blind)
#475981
Tritanopia (blue-blind)
#972E51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902284;
/* rgb */ color: rgb(144, 34, 132);
/* oklch */ color: oklch(46.8% 0.180 333.0);
Tailwind
colors: {
  custom: {
    50: '#b46aa8',
    500: '#902284',
    950: '#000000',
  },
}
SCSS
$custom: #902284;
$custom-light: #b46aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#902284",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 306.545,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46762,
    "c": 0.17992,
    "h": 333
  },
  "luminance": 0.08739
}

Semantic roles & 50–950 ramp

primary
#902284
secondary
#53BB5E
accent
#E55543
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #902284

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

Preview Lab → · Contrast checker → · Palette generator →

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