#902A99#902A99

#902A99 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.188 H 324.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#902A99
RGBrgb(144, 42, 153)
HSLhsl(295, 57%, 38%)
HSVhsv(295, 73%, 60%)
CMYKcmyk(5.9%, 72.5%, 0%, 40%)
CIE-LABlab(37.64, 56.35, -39.22)
CIE-LCHlch(37.64, 68.66, 325.17°)
OKLaboklab(48.69% 0.1527 -0.1092)
OKLCHoklch(48.69% 0.188 324.4)
XYZxyz(18.0789, 9.8863, 31.0868)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A99 #33992A
analogous
#582A99 #902A99 #992A6A
triadic
#902A99 #99902A #2A9990
tetradic
#902A99 #99582A #33992A #2A6A99
square
#902A99 #99582A #33992A #2A6A99
split-complementary
#902A99 #6A992A #2A9958
monochromatic
#361039 #631D69 #902A99 #BD38C8 #CD68D6

Accessibility & contrast

On white

7.05
#902A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#902A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A99
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A99#FFFFFF#000000##FFFFFF
##902A991.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05519C
Deuteranopia (green-blind)
#3F5D96
Tritanopia (blue-blind)
#933D5F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #902a99;
/* rgb */ color: rgb(144, 42, 153);
/* oklch */ color: oklch(48.7% 0.188 324.4);
Tailwind
colors: {
  custom: {
    50: '#b46eb7',
    500: '#902a99',
    950: '#000000',
  },
}
SCSS
$custom: #902a99;
$custom-light: #b46eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#902a99",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 295.135,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48693,
    "c": 0.18771,
    "h": 324.4
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#902A99
secondary
#6ABC63
accent
#E04854
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902A99

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

Preview Lab → · Contrast checker → · Palette generator →

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