#902CC2#902CC2

#902CC2 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.7% C 0.222 H 311.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#902CC2
RGBrgb(144, 44, 194)
HSLhsl(280, 63%, 47%)
HSVhsv(280, 77%, 76%)
CMYKcmyk(25.8%, 77.3%, 0%, 23.9%)
CIE-LABlab(40.62, 63.60, -58.82)
CIE-LCHlch(40.62, 86.63, 317.24°)
OKLaboklab(51.67% 0.1459 -0.1667)
OKLCHoklch(51.67% 0.222 311.2)
XYZxyz(22.1380, 11.6263, 52.1064)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CC2 #5EC22C
analogous
#452CC2 #902CC2 #C22CA9
triadic
#902CC2 #C2902C #2CC290
tetradic
#902CC2 #C2452C #5EC22C #2CA9C2
square
#902CC2 #C2452C #5EC22C #2CA9C2
split-complementary
#902CC2 #A9C22C #2CC245
monochromatic
#46155E #6B2190 #902CC2 #AC53D8 #C485E3

Accessibility & contrast

On white

6.32
#902CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#902CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CC2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CC2#FFFFFF#000000##FFFFFF
##902CC21.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0461BF
Tritanopia (blue-blind)
#895076
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #902cc2;
/* rgb */ color: rgb(144, 44, 194);
/* oklch */ color: oklch(51.7% 0.222 311.2);
Tailwind
colors: {
  custom: {
    50: '#b671d5',
    500: '#902cc2',
    950: '#000000',
  },
}
SCSS
$custom: #902cc2;
$custom-light: #b671d5;
$custom-dark: #000000;
JSON
{
  "hex": "#902cc2",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 280,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51672,
    "c": 0.22154,
    "h": 311.2
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

primary
#902CC2
secondary
#98CD7D
accent
#E64279
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #902CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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