#902A82#902A82

#902A82 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.169 H 334.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#902A82
RGBrgb(144, 42, 130)
HSLhsl(308, 55%, 36%)
HSVhsv(308, 71%, 56%)
CMYKcmyk(0%, 70.8%, 9.7%, 43.5%)
CIE-LABlab(36.36, 52.42, -27.13)
CIE-LCHlch(36.36, 59.03, 332.64°)
OKLaboklab(47.37% 0.1519 -0.0742)
OKLCHoklch(47.37% 0.169 334)
XYZxyz(16.3590, 9.1983, 22.0286)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A82 #2A9038
analogous
#6B2A90 #902A82 #902A4F
triadic
#902A82 #82902A #2A8290
tetradic
#902A82 #906B2A #2A9038 #2A4F90
square
#902A82 #906B2A #2A9038 #2A4F90
split-complementary
#902A82 #4F902A #2A906B
monochromatic
#310E2C #611C57 #902A82 #BF38AD #D163C2

Accessibility & contrast

On white

7.40
#902A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#902A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A82
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A82#FFFFFF#000000##FFFFFF
##902A821.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#4C5B7F
Tritanopia (blue-blind)
#973352
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902a82;
/* rgb */ color: rgb(144, 42, 130);
/* oklch */ color: oklch(47.4% 0.169 334.0);
Tailwind
colors: {
  custom: {
    50: '#b46da6',
    500: '#902a82',
    950: '#000000',
  },
}
SCSS
$custom: #902a82;
$custom-light: #b46da6;
$custom-dark: #000000;
JSON
{
  "hex": "#902a82",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 308.235,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47365,
    "c": 0.16909,
    "h": 334
  },
  "luminance": 0.09197
}

Semantic roles & 50–950 ramp

primary
#902A82
secondary
#5EB76B
accent
#DE5E4A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #902A82

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

Preview Lab → · Contrast checker → · Palette generator →

#902A82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva