#902579#902579

#902579 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.169 H 338.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#902579
RGBrgb(144, 37, 121)
HSLhsl(313, 59%, 35%)
HSVhsv(313, 74%, 56%)
CMYKcmyk(0%, 74.3%, 16%, 43.5%)
CIE-LABlab(35.27, 52.85, -23.23)
CIE-LCHlch(35.27, 57.73, 336.28°)
OKLaboklab(46.43% 0.1563 -0.063)
OKLCHoklch(46.43% 0.169 338)
XYZxyz(15.6147, 8.6344, 18.9297)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902579 #25903C
analogous
#712590 #902579 #902543
triadic
#902579 #799025 #257990
tetradic
#902579 #907125 #25903C #254390
square
#902579 #907125 #25903C #254390
split-complementary
#902579 #439025 #259071
monochromatic
#2F0C27 #5F1850 #902579 #C132A2 #D55BBB

Accessibility & contrast

On white

7.70
#902579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#902579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902579
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902579#FFFFFF#000000##FFFFFF
##9025791.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A487B
Deuteranopia (green-blind)
#4D5976
Tritanopia (blue-blind)
#982A4C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902579;
/* rgb */ color: rgb(144, 37, 121);
/* oklch */ color: oklch(46.4% 0.169 338.0);
Tailwind
colors: {
  custom: {
    50: '#b46aa0',
    500: '#902579',
    950: '#000000',
  },
}
SCSS
$custom: #902579;
$custom-light: #b46aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#902579",
  "rgb": {
    "r": 144,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 312.897,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46428,
    "c": 0.16855,
    "h": 338
  },
  "luminance": 0.08633
}

Semantic roles & 50–950 ramp

primary
#902579
secondary
#57B96C
accent
#E26745
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902579

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

Preview Lab → · Contrast checker → · Palette generator →

#902579 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva