#902A84#902A84

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

Color values

HEX#902A84
RGBrgb(144, 42, 132)
HSLhsl(307, 55%, 36%)
HSVhsv(307, 71%, 56%)
CMYKcmyk(0%, 70.8%, 8.3%, 43.5%)
CIE-LABlab(36.47, 52.75, -28.21)
CIE-LCHlch(36.47, 59.81, 331.86°)
OKLaboklab(47.47% 0.1521 -0.0773)
OKLCHoklch(47.47% 0.171 333.1)
XYZxyz(16.4945, 9.2525, 22.7425)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A84 #2A9036
analogous
#692A90 #902A84 #902A51
triadic
#902A84 #84902A #2A8490
tetradic
#902A84 #90692A #2A9036 #2A5190
square
#902A84 #90692A #2A9036 #2A5190
split-complementary
#902A84 #51902A #2A9069
monochromatic
#310E2D #611C59 #902A84 #BF38AF #D163C4

Accessibility & contrast

On white

7.37
#902A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902A84
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A84#FFFFFF#000000##FFFFFF
##902A841.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C87
Deuteranopia (green-blind)
#4B5B81
Tritanopia (blue-blind)
#963453
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902a84;
/* rgb */ color: rgb(144, 42, 132);
/* oklch */ color: oklch(47.5% 0.171 333.1);
Tailwind
colors: {
  custom: {
    50: '#b46da8',
    500: '#902a84',
    950: '#000000',
  },
}
SCSS
$custom: #902a84;
$custom-light: #b46da8;
$custom-dark: #000000;
JSON
{
  "hex": "#902a84",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 307.059,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47472,
    "c": 0.17063,
    "h": 333.1
  },
  "luminance": 0.09251
}

Semantic roles & 50–950 ramp

primary
#902A84
secondary
#5EB769
accent
#DE5B4A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #902A84

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

Preview Lab → · Contrast checker → · Palette generator →

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