#902282#902282

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

Color values

HEX#902282
RGBrgb(144, 34, 130)
HSLhsl(308, 62%, 35%)
HSVhsv(308, 76%, 56%)
CMYKcmyk(0%, 76.4%, 9.7%, 43.5%)
CIE-LABlab(35.37, 55.23, -28.68)
CIE-LCHlch(35.37, 62.23, 332.56°)
OKLaboklab(46.65% 0.1602 -0.0786)
OKLCHoklch(46.65% 0.178 333.9)
XYZxyz(16.1030, 8.6865, 21.9433)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902282 #229030
analogous
#672290 #902282 #90224B
triadic
#902282 #829022 #228290
tetradic
#902282 #906722 #229030 #224B90
square
#902282 #906722 #229030 #224B90
split-complementary
#902282 #4B9022 #229067
monochromatic
#2D0B29 #5E1655 #902282 #C22EAF #D755C6

Accessibility & contrast

On white

7.67
#902282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#902282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902282
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902282#FFFFFF#000000##FFFFFF
##9022821.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4985
Deuteranopia (green-blind)
#48597F
Tritanopia (blue-blind)
#972D50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902282;
/* rgb */ color: rgb(144, 34, 130);
/* oklch */ color: oklch(46.7% 0.178 333.9);
Tailwind
colors: {
  custom: {
    50: '#b46aa6',
    500: '#902282',
    950: '#000000',
  },
}
SCSS
$custom: #902282;
$custom-light: #b46aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#902282",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 307.636,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46651,
    "c": 0.17843,
    "h": 333.9
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#902282
secondary
#53BB60
accent
#E55843
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #902282

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

Preview Lab → · Contrast checker → · Palette generator →

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