#902CA7#902CA7

#902CA7 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.197 H 319.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#902CA7
RGBrgb(144, 44, 167)
HSLhsl(289, 58%, 41%)
HSVhsv(289, 74%, 65%)
CMYKcmyk(13.8%, 73.7%, 0%, 34.5%)
CIE-LABlab(38.76, 58.23, -45.85)
CIE-LCHlch(38.76, 74.11, 321.78°)
OKLaboklab(49.77% 0.1499 -0.1286)
OKLCHoklch(49.77% 0.197 319.4)
XYZxyz(19.3764, 10.5216, 37.5620)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CA7 #43A72C
analogous
#522CA7 #902CA7 #A72C81
triadic
#902CA7 #A7902C #2CA790
tetradic
#902CA7 #A7522C #43A72C #2C81A7
square
#902CA7 #A7522C #43A72C #2C81A7
split-complementary
#902CA7 #81A72C #2CA752
monochromatic
#3C1246 #661F77 #902CA7 #B343CD #C773DA

Accessibility & contrast

On white

6.77
#902CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#902CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CA7
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CA7#FFFFFF#000000##FFFFFF
##902CA71.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#355FA4
Tritanopia (blue-blind)
#904467
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902ca7;
/* rgb */ color: rgb(144, 44, 167);
/* oklch */ color: oklch(49.8% 0.197 319.4);
Tailwind
colors: {
  custom: {
    50: '#b46fc2',
    500: '#902ca7',
    950: '#000000',
  },
}
SCSS
$custom: #902ca7;
$custom-light: #b46fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#902ca7",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 288.78,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49774,
    "c": 0.19748,
    "h": 319.4
  },
  "luminance": 0.10521
}

Semantic roles & 50–950 ramp

primary
#902CA7
secondary
#7DC26D
accent
#E24663
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #902CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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