#902EA5#902EA5

#902EA5 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.193 H 319.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#902EA5
RGBrgb(144, 46, 165)
HSLhsl(289, 56%, 41%)
HSVhsv(289, 72%, 65%)
CMYKcmyk(12.7%, 72.1%, 0%, 35.3%)
CIE-LABlab(38.90, 57.09, -44.43)
CIE-LCHlch(38.90, 72.34, 322.11°)
OKLaboklab(49.83% 0.148 -0.1245)
OKLCHoklch(49.83% 0.193 319.9)
XYZxyz(19.2693, 10.6009, 36.6212)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EA5 #43A52E
analogous
#552EA5 #902EA5 #A52E7F
triadic
#902EA5 #A5902E #2EA590
tetradic
#902EA5 #A5552E #43A52E #2E7FA5
square
#902EA5 #A5552E #43A52E #2E7FA5
split-complementary
#902EA5 #7FA52E #2EA555
monochromatic
#3C1345 #662175 #902EA5 #B345CB #C775D8

Accessibility & contrast

On white

6.73
#902EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#902EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EA5
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EA5#FFFFFF#000000##FFFFFF
##902EA51.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#385FA2
Tritanopia (blue-blind)
#904567
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902ea5;
/* rgb */ color: rgb(144, 46, 165);
/* oklch */ color: oklch(49.8% 0.193 319.9);
Tailwind
colors: {
  custom: {
    50: '#b470c0',
    500: '#902ea5',
    950: '#000000',
  },
}
SCSS
$custom: #902ea5;
$custom-light: #b470c0;
$custom-dark: #000000;
JSON
{
  "hex": "#902ea5",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 289.412,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49831,
    "c": 0.19341,
    "h": 319.9
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#902EA5
secondary
#7DC06F
accent
#E04863
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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