#902A7F#902A7F

#902A7F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.167 H 335.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#902A7F
RGBrgb(144, 42, 127)
HSLhsl(310, 55%, 36%)
HSVhsv(310, 71%, 56%)
CMYKcmyk(0%, 70.8%, 11.8%, 43.5%)
CIE-LABlab(36.21, 51.94, -25.50)
CIE-LCHlch(36.21, 57.87, 333.85°)
OKLaboklab(47.21% 0.1516 -0.0695)
OKLCHoklch(47.21% 0.167 335.4)
XYZxyz(16.1605, 9.1189, 20.9836)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A7F #2A903B
analogous
#6E2A90 #902A7F #902A4C
triadic
#902A7F #7F902A #2A7F90
tetradic
#902A7F #906E2A #2A903B #2A4C90
square
#902A7F #906E2A #2A903B #2A4C90
split-complementary
#902A7F #4C902A #2A906E
monochromatic
#310E2B #611C55 #902A7F #BF38A9 #D163BF

Accessibility & contrast

On white

7.44
#902A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#902A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A7F
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A7F#FFFFFF#000000##FFFFFF
##902A7F1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#4D5B7D
Tritanopia (blue-blind)
#973151
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #902a7f;
/* rgb */ color: rgb(144, 42, 127);
/* oklch */ color: oklch(47.2% 0.167 335.4);
Tailwind
colors: {
  custom: {
    50: '#b46da4',
    500: '#902a7f',
    950: '#000000',
  },
}
SCSS
$custom: #902a7f;
$custom-light: #b46da4;
$custom-dark: #000000;
JSON
{
  "hex": "#902a7f",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 310,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47206,
    "c": 0.1668,
    "h": 335.4
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#902A7F
secondary
#5EB76D
accent
#DE624A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #902A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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