#902782#902782

#902782 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.173 H 333.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#902782
RGBrgb(144, 39, 130)
HSLhsl(308, 57%, 36%)
HSVhsv(308, 73%, 56%)
CMYKcmyk(0%, 72.9%, 9.7%, 43.5%)
CIE-LABlab(35.97, 53.53, -27.74)
CIE-LCHlch(35.97, 60.29, 332.60°)
OKLaboklab(47.08% 0.1552 -0.0759)
OKLCHoklch(47.08% 0.173 333.9)
XYZxyz(16.2565, 8.9934, 21.9945)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902782 #279035
analogous
#692790 #902782 #90274D
triadic
#902782 #829027 #278290
tetradic
#902782 #906927 #279035 #274D90
square
#902782 #906927 #279035 #274D90
split-complementary
#902782 #4D9027 #279069
monochromatic
#300D2B #601A57 #902782 #C034AD #D35EC4

Accessibility & contrast

On white

7.50
#902782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#902782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902782
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902782#FFFFFF#000000##FFFFFF
##9027821.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B85
Deuteranopia (green-blind)
#4A5A7F
Tritanopia (blue-blind)
#973051
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #902782;
/* rgb */ color: rgb(144, 39, 130);
/* oklch */ color: oklch(47.1% 0.173 333.9);
Tailwind
colors: {
  custom: {
    50: '#b46ca6',
    500: '#902782',
    950: '#000000',
  },
}
SCSS
$custom: #902782;
$custom-light: #b46ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#902782",
  "rgb": {
    "r": 144,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 308,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47082,
    "c": 0.17277,
    "h": 333.9
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

primary
#902782
secondary
#5AB967
accent
#E15C47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #902782

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

Preview Lab → · Contrast checker → · Palette generator →

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