#902E84#902E84

#902E84 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.165 H 333.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#902E84
RGBrgb(144, 46, 132)
HSLhsl(307, 52%, 37%)
HSVhsv(307, 68%, 56%)
CMYKcmyk(0%, 68.1%, 8.3%, 43.5%)
CIE-LABlab(37.02, 51.18, -27.33)
CIE-LCHlch(37.02, 58.02, 331.90°)
OKLaboklab(47.88% 0.1475 -0.0748)
OKLCHoklch(47.88% 0.165 333.1)
XYZxyz(16.6435, 9.5506, 22.7922)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E84 #2E903A
analogous
#6B2E90 #902E84 #902E53
triadic
#902E84 #84902E #2E8490
tetradic
#902E84 #906B2E #2E903A #2E5390
square
#902E84 #906B2E #2E903A #2E5390
split-complementary
#902E84 #53902E #2E906B
monochromatic
#33102F #621F59 #902E84 #BE3DAF #CF69C3

Accessibility & contrast

On white

7.22
#902E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#902E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902E84
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E84#FFFFFF#000000##FFFFFF
##902E841.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E87
Deuteranopia (green-blind)
#4D5C82
Tritanopia (blue-blind)
#963755
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902e84;
/* rgb */ color: rgb(144, 46, 132);
/* oklch */ color: oklch(47.9% 0.165 333.1);
Tailwind
colors: {
  custom: {
    50: '#b46fa8',
    500: '#902e84',
    950: '#000000',
  },
}
SCSS
$custom: #902e84;
$custom-light: #b46fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#902e84",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 307.347,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47876,
    "c": 0.16543,
    "h": 333.1
  },
  "luminance": 0.09549
}

Semantic roles & 50–950 ramp

primary
#902E84
secondary
#64B66E
accent
#DB5E4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #902E84

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

Preview Lab → · Contrast checker → · Palette generator →

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