#902A7D#902A7D

#902A7D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.165 H 336.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#902A7D
RGBrgb(144, 42, 125)
HSLhsl(311, 55%, 36%)
HSVhsv(311, 71%, 56%)
CMYKcmyk(0%, 70.8%, 13.2%, 43.5%)
CIE-LABlab(36.11, 51.63, -24.41)
CIE-LCHlch(36.11, 57.11, 334.69°)
OKLaboklab(47.1% 0.1514 -0.0664)
OKLCHoklch(47.1% 0.165 336.3)
XYZxyz(16.0315, 9.0673, 20.3039)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A7D #2A903D
analogous
#702A90 #902A7D #902A4A
triadic
#902A7D #7D902A #2A7D90
tetradic
#902A7D #90702A #2A903D #2A4A90
square
#902A7D #90702A #2A903D #2A4A90
split-complementary
#902A7D #4A902A #2A9070
monochromatic
#310E2B #611C54 #902A7D #BF38A6 #D163BD

Accessibility & contrast

On white

7.46
#902A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#902A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A7D
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A7D#FFFFFF#000000##FFFFFF
##902A7D1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7F
Deuteranopia (green-blind)
#4E5A7B
Tritanopia (blue-blind)
#973050
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #902a7d;
/* rgb */ color: rgb(144, 42, 125);
/* oklch */ color: oklch(47.1% 0.165 336.3);
Tailwind
colors: {
  custom: {
    50: '#b46da3',
    500: '#902a7d',
    950: '#000000',
  },
}
SCSS
$custom: #902a7d;
$custom-light: #b46da3;
$custom-dark: #000000;
JSON
{
  "hex": "#902a7d",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 311.176,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47102,
    "c": 0.16531,
    "h": 336.3
  },
  "luminance": 0.09066
}

Semantic roles & 50–950 ramp

primary
#902A7D
secondary
#5EB76F
accent
#DE654A
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #902A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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