#902A8A#902A8A

#902A8A is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.175 H 330.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#902A8A
RGBrgb(144, 42, 138)
HSLhsl(304, 55%, 36%)
HSVhsv(304, 71%, 56%)
CMYKcmyk(0%, 70.8%, 4.2%, 43.5%)
CIE-LABlab(36.78, 53.74, -31.41)
CIE-LCHlch(36.78, 62.24, 329.69°)
OKLaboklab(47.8% 0.1525 -0.0865)
OKLCHoklch(47.8% 0.175 330.4)
XYZxyz(16.9169, 9.4215, 24.9674)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A8A #2A9030
analogous
#632A90 #902A8A #902A57
triadic
#902A8A #8A902A #2A8A90
tetradic
#902A8A #90632A #2A9030 #2A5790
square
#902A8A #90632A #2A9030 #2A5790
split-complementary
#902A8A #57902A #2A9063
monochromatic
#310E2F #611C5D #902A8A #BF38B7 #D163CB

Accessibility & contrast

On white

7.28
#902A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#902A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A8A
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A8A#FFFFFF#000000##FFFFFF
##902A8A1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8D
Deuteranopia (green-blind)
#485B87
Tritanopia (blue-blind)
#963657
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902a8a;
/* rgb */ color: rgb(144, 42, 138);
/* oklch */ color: oklch(47.8% 0.175 330.4);
Tailwind
colors: {
  custom: {
    50: '#b46dac',
    500: '#902a8a',
    950: '#000000',
  },
}
SCSS
$custom: #902a8a;
$custom-light: #b46dac;
$custom-dark: #000000;
JSON
{
  "hex": "#902a8a",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 303.529,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47804,
    "c": 0.17536,
    "h": 330.4
  },
  "luminance": 0.0942
}

Semantic roles & 50–950 ramp

primary
#902A8A
secondary
#5EB764
accent
#DE524A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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