#902B82#902B82

#902B82 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.168 H 334.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#902B82
RGBrgb(144, 43, 130)
HSLhsl(308, 54%, 37%)
HSVhsv(308, 70%, 56%)
CMYKcmyk(0%, 70.1%, 9.7%, 43.5%)
CIE-LABlab(36.50, 52.04, -26.92)
CIE-LCHlch(36.50, 58.59, 332.65°)
OKLaboklab(47.46% 0.1508 -0.0736)
OKLCHoklch(47.46% 0.168 334)
XYZxyz(16.3949, 9.2701, 22.0406)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902B82 #2B9039
analogous
#6C2B90 #902B82 #902B50
triadic
#902B82 #82902B #2B8290
tetradic
#902B82 #906C2B #2B9039 #2B5090
square
#902B82 #906C2B #2B9039 #2B5090
split-complementary
#902B82 #50902B #2B906C
monochromatic
#320F2D #611D57 #902B82 #BF39AD #D165C2

Accessibility & contrast

On white

7.36
#902B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#902B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902B82
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902B82#FFFFFF#000000##FFFFFF
##902B821.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #902b82;
/* rgb */ color: rgb(144, 43, 130);
/* oklch */ color: oklch(47.5% 0.168 334.0);
Tailwind
colors: {
  custom: {
    50: '#b46da6',
    500: '#902b82',
    950: '#000000',
  },
}
SCSS
$custom: #902b82;
$custom-light: #b46da6;
$custom-dark: #000000;
JSON
{
  "hex": "#902b82",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 308.317,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47463,
    "c": 0.16782,
    "h": 334
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#902B82
secondary
#60B76C
accent
#DD5F4A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #902B82

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

Preview Lab → · Contrast checker → · Palette generator →

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