#902FA9#902FA9

#902FA9 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.196 H 318.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#902FA9
RGBrgb(144, 47, 169)
HSLhsl(288, 56%, 42%)
HSVhsv(288, 72%, 66%)
CMYKcmyk(14.8%, 72.2%, 0%, 33.7%)
CIE-LABlab(39.29, 57.48, -46.20)
CIE-LCHlch(39.29, 73.75, 321.21°)
OKLaboklab(50.19% 0.1467 -0.1297)
OKLCHoklch(50.19% 0.196 318.5)
XYZxyz(19.6786, 10.8278, 38.5818)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FA9 #48A92F
analogous
#532FA9 #902FA9 #A92F85
triadic
#902FA9 #A9902F #2FA990
tetradic
#902FA9 #A9532F #48A92F #2F85A9
square
#902FA9 #A9532F #48A92F #2F85A9
split-complementary
#902FA9 #85A92F #2FA953
monochromatic
#3E1449 #672279 #902FA9 #B149CC #C679DA

Accessibility & contrast

On white

6.63
#902FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#902FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FA9
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FA9#FFFFFF#000000##FFFFFF
##902FA91.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#3660A6
Tritanopia (blue-blind)
#904769
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902fa9;
/* rgb */ color: rgb(144, 47, 169);
/* oklch */ color: oklch(50.2% 0.196 318.5);
Tailwind
colors: {
  custom: {
    50: '#b471c3',
    500: '#902fa9',
    950: '#000000',
  },
}
SCSS
$custom: #902fa9;
$custom-light: #b471c3;
$custom-dark: #000000;
JSON
{
  "hex": "#902fa9",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 287.705,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5019,
    "c": 0.19579,
    "h": 318.5
  },
  "luminance": 0.10827
}

Semantic roles & 50–950 ramp

primary
#902FA9
secondary
#82C272
accent
#E04867
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #902FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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