#902E82#902E82

#902E82 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.8% C 0.164 H 334.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#902E82
RGBrgb(144, 46, 130)
HSLhsl(309, 52%, 37%)
HSVhsv(309, 68%, 56%)
CMYKcmyk(0%, 68.1%, 9.7%, 43.5%)
CIE-LABlab(36.92, 50.85, -26.25)
CIE-LCHlch(36.92, 57.23, 332.70°)
OKLaboklab(47.77% 0.1473 -0.0717)
OKLCHoklch(47.77% 0.164 334)
XYZxyz(16.5080, 9.4963, 22.0783)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E82 #2E903C
analogous
#6D2E90 #902E82 #902E51
triadic
#902E82 #82902E #2E8290
tetradic
#902E82 #906D2E #2E903C #2E5190
square
#902E82 #906D2E #2E903C #2E5190
split-complementary
#902E82 #51902E #2E906D
monochromatic
#33102E #621F58 #902E82 #BE3DAC #CF69C1

Accessibility & contrast

On white

7.24
#902E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#902E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902E82
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E82#FFFFFF#000000##FFFFFF
##902E821.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4E84
Deuteranopia (green-blind)
#4D5C80
Tritanopia (blue-blind)
#973654
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902e82;
/* rgb */ color: rgb(144, 46, 130);
/* oklch */ color: oklch(47.8% 0.164 334.0);
Tailwind
colors: {
  custom: {
    50: '#b46fa6',
    500: '#902e82',
    950: '#000000',
  },
}
SCSS
$custom: #902e82;
$custom-light: #b46fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#902e82",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 308.571,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4777,
    "c": 0.16385,
    "h": 334
  },
  "luminance": 0.09495
}

Semantic roles & 50–950 ramp

primary
#902E82
secondary
#64B66F
accent
#DB614D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #902E82

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

Preview Lab → · Contrast checker → · Palette generator →

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