#902A85#902A85

#902A85 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.171 H 332.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#902A85
RGBrgb(144, 42, 133)
HSLhsl(306, 55%, 36%)
HSVhsv(306, 71%, 56%)
CMYKcmyk(0%, 70.8%, 7.6%, 43.5%)
CIE-LABlab(36.52, 52.91, -28.74)
CIE-LCHlch(36.52, 60.21, 331.49°)
OKLaboklab(47.53% 0.1522 -0.0788)
OKLCHoklch(47.53% 0.171 332.6)
XYZxyz(16.5633, 9.2800, 23.1046)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A85 #2A9035
analogous
#682A90 #902A85 #902A52
triadic
#902A85 #85902A #2A8590
tetradic
#902A85 #90682A #2A9035 #2A5290
square
#902A85 #90682A #2A9035 #2A5290
split-complementary
#902A85 #52902A #2A9068
monochromatic
#310E2D #611C59 #902A85 #BF38B1 #D163C6

Accessibility & contrast

On white

7.35
#902A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#902A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A85
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A85#FFFFFF#000000##FFFFFF
##902A851.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D88
Deuteranopia (green-blind)
#4A5B82
Tritanopia (blue-blind)
#963454
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902a85;
/* rgb */ color: rgb(144, 42, 133);
/* oklch */ color: oklch(47.5% 0.171 332.6);
Tailwind
colors: {
  custom: {
    50: '#b46da9',
    500: '#902a85',
    950: '#000000',
  },
}
SCSS
$custom: #902a85;
$custom-light: #b46da9;
$custom-dark: #000000;
JSON
{
  "hex": "#902a85",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 306.471,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47527,
    "c": 0.1714,
    "h": 332.6
  },
  "luminance": 0.09279
}

Semantic roles & 50–950 ramp

primary
#902A85
secondary
#5EB768
accent
#DE5A4A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902A85

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

Preview Lab → · Contrast checker → · Palette generator →

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