#902E9A#902E9A

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

Color values

HEX#902E9A
RGBrgb(144, 46, 154)
HSLhsl(294, 54%, 39%)
HSVhsv(294, 70%, 60%)
CMYKcmyk(6.5%, 70.1%, 0%, 39.6%)
CIE-LABlab(38.23, 55.03, -38.88)
CIE-LCHlch(38.23, 67.37, 324.76°)
OKLaboklab(49.14% 0.1485 -0.1082)
OKLCHoklch(49.14% 0.184 323.9)
XYZxyz(18.3108, 10.2175, 31.5733)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E9A #389A2E
analogous
#5A2E9A #902E9A #9A2E6E
triadic
#902E9A #9A902E #2E9A90
tetradic
#902E9A #9A5A2E #389A2E #2E6E9A
square
#902E9A #9A5A2E #389A2E #2E6E9A
split-complementary
#902E9A #6E9A2E #2E9A5A
monochromatic
#38123C #64206B #902E9A #B93FC6 #CA6FD4

Accessibility & contrast

On white

6.90
#902E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #902E9A
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E9A#FFFFFF#000000##FFFFFF
##902E9A1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10539D
Deuteranopia (green-blind)
#415E97
Tritanopia (blue-blind)
#934061
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902e9a;
/* rgb */ color: rgb(144, 46, 154);
/* oklch */ color: oklch(49.1% 0.184 323.9);
Tailwind
colors: {
  custom: {
    50: '#b470b8',
    500: '#902e9a',
    950: '#000000',
  },
}
SCSS
$custom: #902e9a;
$custom-light: #b470b8;
$custom-dark: #000000;
JSON
{
  "hex": "#902e9a",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 294.444,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49137,
    "c": 0.18376,
    "h": 323.9
  },
  "luminance": 0.10216
}

Semantic roles & 50–950 ramp

primary
#902E9A
secondary
#70BB69
accent
#DD4A58
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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