#902A88#902A88

#902A88 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.174 H 331.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#902A88
RGBrgb(144, 42, 136)
HSLhsl(305, 55%, 36%)
HSVhsv(305, 71%, 56%)
CMYKcmyk(0%, 70.8%, 5.6%, 43.5%)
CIE-LABlab(36.68, 53.40, -30.35)
CIE-LCHlch(36.68, 61.42, 330.39°)
OKLaboklab(47.69% 0.1524 -0.0835)
OKLCHoklch(47.69% 0.174 331.3)
XYZxyz(16.7735, 9.3641, 24.2118)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A88 #2A9032
analogous
#652A90 #902A88 #902A55
triadic
#902A88 #88902A #2A8890
tetradic
#902A88 #90652A #2A9032 #2A5590
square
#902A88 #90652A #2A9032 #2A5590
split-complementary
#902A88 #55902A #2A9065
monochromatic
#310E2F #611C5B #902A88 #BF38B5 #D163C9

Accessibility & contrast

On white

7.31
#902A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#902A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A88
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A88#FFFFFF#000000##FFFFFF
##902A881.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8B
Deuteranopia (green-blind)
#495B85
Tritanopia (blue-blind)
#963556
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902a88;
/* rgb */ color: rgb(144, 42, 136);
/* oklch */ color: oklch(47.7% 0.174 331.3);
Tailwind
colors: {
  custom: {
    50: '#b46dab',
    500: '#902a88',
    950: '#000000',
  },
}
SCSS
$custom: #902a88;
$custom-light: #b46dab;
$custom-dark: #000000;
JSON
{
  "hex": "#902a88",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 304.706,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47692,
    "c": 0.17377,
    "h": 331.3
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#902A88
secondary
#5EB765
accent
#DE554A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902A88

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

Preview Lab → · Contrast checker → · Palette generator →

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