#902CA5#902CA5

#902CA5 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.196 H 320.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#902CA5
RGBrgb(144, 44, 165)
HSLhsl(290, 58%, 41%)
HSVhsv(290, 73%, 65%)
CMYKcmyk(12.7%, 73.3%, 0%, 35.3%)
CIE-LABlab(38.64, 57.84, -44.86)
CIE-LCHlch(38.64, 73.20, 322.21°)
OKLaboklab(49.64% 0.15 -0.1257)
OKLCHoklch(49.64% 0.196 320)
XYZxyz(19.1930, 10.4482, 36.5958)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CA5 #41A52C
analogous
#532CA5 #902CA5 #A52C7D
triadic
#902CA5 #A5902C #2CA590
tetradic
#902CA5 #A5532C #41A52C #2C7DA5
square
#902CA5 #A5532C #41A52C #2C7DA5
split-complementary
#902CA5 #7DA52C #2CA553
monochromatic
#3C1244 #661F75 #902CA5 #B442CD #C772D9

Accessibility & contrast

On white

6.80
#902CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#902CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CA5
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CA5#FFFFFF#000000##FFFFFF
##902CA51.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#375EA2
Tritanopia (blue-blind)
#904466
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902ca5;
/* rgb */ color: rgb(144, 44, 165);
/* oklch */ color: oklch(49.6% 0.196 320.0);
Tailwind
colors: {
  custom: {
    50: '#b46fc0',
    500: '#902ca5',
    950: '#000000',
  },
}
SCSS
$custom: #902ca5;
$custom-light: #b46fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#902ca5",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 289.587,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49642,
    "c": 0.19572,
    "h": 320
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#902CA5
secondary
#7BC16C
accent
#E14761
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #902CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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