#902F7F#902F7F

#902F7F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.160 H 335.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#902F7F
RGBrgb(144, 47, 127)
HSLhsl(311, 51%, 37%)
HSVhsv(311, 67%, 56%)
CMYKcmyk(0%, 67.4%, 11.8%, 43.5%)
CIE-LABlab(36.92, 49.96, -24.39)
CIE-LCHlch(36.92, 55.59, 333.97°)
OKLaboklab(47.72% 0.1457 -0.0664)
OKLCHoklch(47.72% 0.16 335.5)
XYZxyz(16.3491, 9.4960, 21.0464)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902F7F #2F9040
analogous
#702F90 #902F7F #902F4F
triadic
#902F7F #7F902F #2F7F90
tetradic
#902F7F #90702F #2F9040 #2F4F90
square
#902F7F #90702F #2F9040 #2F4F90
split-complementary
#902F7F #4F902F #2F9070
monochromatic
#34112E #622056 #902F7F #BE3EA8 #CF6BBD

Accessibility & contrast

On white

7.24
#902F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#902F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902F7F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902F7F#FFFFFF#000000##FFFFFF
##902F7F1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4E81
Deuteranopia (green-blind)
#4F5C7D
Tritanopia (blue-blind)
#973553
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902f7f;
/* rgb */ color: rgb(144, 47, 127);
/* oklch */ color: oklch(47.7% 0.160 335.5);
Tailwind
colors: {
  custom: {
    50: '#b36fa4',
    500: '#902f7f',
    950: '#000000',
  },
}
SCSS
$custom: #902f7f;
$custom-light: #b36fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#902f7f",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 310.515,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47721,
    "c": 0.16016,
    "h": 335.5
  },
  "luminance": 0.09495
}

Semantic roles & 50–950 ramp

primary
#902F7F
secondary
#65B673
accent
#DA664E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #902F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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