#902E99#902E99

#902E99 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.183 H 324.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#902E99
RGBrgb(144, 46, 153)
HSLhsl(295, 54%, 39%)
HSVhsv(295, 70%, 60%)
CMYKcmyk(5.9%, 69.9%, 0%, 40%)
CIE-LABlab(38.17, 54.84, -38.37)
CIE-LCHlch(38.17, 66.93, 325.02°)
OKLaboklab(49.08% 0.1485 -0.1068)
OKLCHoklch(49.08% 0.183 324.3)
XYZxyz(18.2279, 10.1843, 31.1365)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E99 #37992E
analogous
#5B2E99 #902E99 #992E6D
triadic
#902E99 #99902E #2E9990
tetradic
#902E99 #995B2E #37992E #2E6D99
square
#902E99 #995B2E #37992E #2E6D99
split-complementary
#902E99 #6D992E #2E995B
monochromatic
#37123B #64206A #902E99 #BA3FC5 #CB6ED3

Accessibility & contrast

On white

6.92
#902E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#902E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902E99
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E99#FFFFFF#000000##FFFFFF
##902E991.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12529C
Deuteranopia (green-blind)
#415E96
Tritanopia (blue-blind)
#934060
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902e99;
/* rgb */ color: rgb(144, 46, 153);
/* oklch */ color: oklch(49.1% 0.183 324.3);
Tailwind
colors: {
  custom: {
    50: '#b470b7',
    500: '#902e99',
    950: '#000000',
  },
}
SCSS
$custom: #902e99;
$custom-light: #b470b7;
$custom-dark: #000000;
JSON
{
  "hex": "#902e99",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 294.953,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49075,
    "c": 0.18289,
    "h": 324.3
  },
  "luminance": 0.10183
}

Semantic roles & 50–950 ramp

primary
#902E99
secondary
#6FBB68
accent
#DD4B57
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902E99

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

Preview Lab → · Contrast checker → · Palette generator →

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