#902899#902899

#902899 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.190 H 324.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#902899
RGBrgb(144, 40, 153)
HSLhsl(295, 59%, 38%)
HSVhsv(295, 74%, 60%)
CMYKcmyk(5.9%, 73.9%, 0%, 40%)
CIE-LABlab(37.39, 57.07, -39.62)
CIE-LCHlch(37.39, 69.47, 325.23°)
OKLaboklab(48.51% 0.1546 -0.1104)
OKLCHoklch(48.51% 0.19 324.5)
XYZxyz(18.0097, 9.7479, 31.0638)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902899 #319928
analogous
#572899 #902899 #99286A
triadic
#902899 #999028 #289990
tetradic
#902899 #995728 #319928 #286A99
square
#902899 #995728 #319928 #286A99
split-complementary
#902899 #6A9928 #289957
monochromatic
#350F38 #621B68 #902899 #BE35CA #CE65D7

Accessibility & contrast

On white

7.12
#902899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#902899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902899
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902899#FFFFFF#000000##FFFFFF
##9028991.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#3E5C96
Tritanopia (blue-blind)
#933C5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902899;
/* rgb */ color: rgb(144, 40, 153);
/* oklch */ color: oklch(48.5% 0.190 324.5);
Tailwind
colors: {
  custom: {
    50: '#b46db7',
    500: '#902899',
    950: '#000000',
  },
}
SCSS
$custom: #902899;
$custom-light: #b46db7;
$custom-dark: #000000;
JSON
{
  "hex": "#902899",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 295.221,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48513,
    "c": 0.18998,
    "h": 324.5
  },
  "luminance": 0.09747
}

Semantic roles & 50–950 ramp

primary
#902899
secondary
#68BD60
accent
#E24652
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902899

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

Preview Lab → · Contrast checker → · Palette generator →

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