#902EA7#902EA7

#902EA7 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.195 H 319.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#902EA7
RGBrgb(144, 46, 167)
HSLhsl(289, 57%, 42%)
HSVhsv(289, 72%, 65%)
CMYKcmyk(13.8%, 72.5%, 0%, 34.5%)
CIE-LABlab(39.03, 57.48, -45.43)
CIE-LCHlch(39.03, 73.26, 321.68°)
OKLaboklab(49.96% 0.1479 -0.1274)
OKLCHoklch(49.96% 0.195 319.3)
XYZxyz(19.4527, 10.6742, 37.5874)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EA7 #45A72E
analogous
#542EA7 #902EA7 #A72E82
triadic
#902EA7 #A7902E #2EA790
tetradic
#902EA7 #A7542E #45A72E #2E82A7
square
#902EA7 #A7542E #45A72E #2E82A7
split-complementary
#902EA7 #82A72E #2EA754
monochromatic
#3D1447 #672177 #902EA7 #B346CC #C676D9

Accessibility & contrast

On white

6.70
#902EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#902EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EA7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EA7#FFFFFF#000000##FFFFFF
##902EA71.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#375FA4
Tritanopia (blue-blind)
#904668
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902ea7;
/* rgb */ color: rgb(144, 46, 167);
/* oklch */ color: oklch(50.0% 0.195 319.3);
Tailwind
colors: {
  custom: {
    50: '#b470c2',
    500: '#902ea7',
    950: '#000000',
  },
}
SCSS
$custom: #902ea7;
$custom-light: #b470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#902ea7",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 288.595,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49962,
    "c": 0.19518,
    "h": 319.3
  },
  "luminance": 0.10673
}

Semantic roles & 50–950 ramp

primary
#902EA7
secondary
#7FC170
accent
#E04865
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #902EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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