#902CA2#902CA2

#902CA2 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.193 H 321.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#902CA2
RGBrgb(144, 44, 162)
HSLhsl(291, 57%, 40%)
HSVhsv(291, 73%, 64%)
CMYKcmyk(11.1%, 72.8%, 0%, 36.5%)
CIE-LABlab(38.45, 57.28, -43.36)
CIE-LCHlch(38.45, 71.84, 322.87°)
OKLaboklab(49.45% 0.1502 -0.1213)
OKLCHoklch(49.45% 0.193 321.1)
XYZxyz(18.9231, 10.3403, 35.1746)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CA2 #3EA22C
analogous
#552CA2 #902CA2 #A22C79
triadic
#902CA2 #A2902C #2CA290
tetradic
#902CA2 #A2552C #3EA22C #2C79A2
square
#902CA2 #A2552C #3EA22C #2C79A2
split-complementary
#902CA2 #79A22C #2CA255
monochromatic
#3A1242 #651F72 #902CA2 #B640CB #C870D8

Accessibility & contrast

On white

6.85
#902CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#902CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CA2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CA2#FFFFFF#000000##FFFFFF
##902CA21.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#3A5E9F
Tritanopia (blue-blind)
#914264
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902ca2;
/* rgb */ color: rgb(144, 44, 162);
/* oklch */ color: oklch(49.4% 0.193 321.1);
Tailwind
colors: {
  custom: {
    50: '#b46fbe',
    500: '#902ca2',
    950: '#000000',
  },
}
SCSS
$custom: #902ca2;
$custom-light: #b46fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#902ca2",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 290.847,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49447,
    "c": 0.19311,
    "h": 321.1
  },
  "luminance": 0.10339
}

Semantic roles & 50–950 ramp

primary
#902CA2
secondary
#77BF6A
accent
#E1475F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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