#902F7D#902F7D

#902F7D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.159 H 336.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#902F7D
RGBrgb(144, 47, 125)
HSLhsl(312, 51%, 37%)
HSVhsv(312, 67%, 56%)
CMYKcmyk(0%, 67.4%, 13.2%, 43.5%)
CIE-LABlab(36.83, 49.64, -23.30)
CIE-LCHlch(36.83, 54.83, 334.85°)
OKLaboklab(47.62% 0.1455 -0.0633)
OKLCHoklch(47.62% 0.159 336.5)
XYZxyz(16.2200, 9.4444, 20.3667)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902F7D #2F9042
analogous
#732F90 #902F7D #902F4C
triadic
#902F7D #7D902F #2F7D90
tetradic
#902F7D #90732F #2F9042 #2F4C90
square
#902F7D #90732F #2F9042 #2F4C90
split-complementary
#902F7D #4C902F #2F9073
monochromatic
#34112D #622055 #902F7D #BE3EA5 #CF6BBB

Accessibility & contrast

On white

7.27
#902F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#902F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902F7D
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902F7D#FFFFFF#000000##FFFFFF
##902F7D1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#973451
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902f7d;
/* rgb */ color: rgb(144, 47, 125);
/* oklch */ color: oklch(47.6% 0.159 336.5);
Tailwind
colors: {
  custom: {
    50: '#b36fa3',
    500: '#902f7d',
    950: '#000000',
  },
}
SCSS
$custom: #902f7d;
$custom-light: #b36fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#902f7d",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 311.753,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4762,
    "c": 0.15864,
    "h": 336.5
  },
  "luminance": 0.09443
}

Semantic roles & 50–950 ramp

primary
#902F7D
secondary
#65B675
accent
#DA694E
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #902F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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