#902CB4#902CB4

#902CB4 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.209 H 315.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#902CB4
RGBrgb(144, 44, 180)
HSLhsl(284, 61%, 44%)
HSVhsv(284, 76%, 71%)
CMYKcmyk(20%, 75.6%, 0%, 29.4%)
CIE-LABlab(39.63, 60.77, -52.20)
CIE-LCHlch(39.63, 80.10, 319.34°)
OKLaboklab(50.66% 0.1483 -0.1472)
OKLCHoklch(50.66% 0.209 315.2)
XYZxyz(20.6392, 11.0267, 44.2123)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CB4 #50B42C
analogous
#4C2CB4 #902CB4 #B42C94
triadic
#902CB4 #B4902C #2CB490
tetradic
#902CB4 #B44C2C #50B42C #2C94B4
square
#902CB4 #B44C2C #50B42C #2C94B4
split-complementary
#902CB4 #94B42C #2CB44C
monochromatic
#411452 #692083 #902CB4 #AF4AD3 #C57CDF

Accessibility & contrast

On white

6.55
#902CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#902CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CB4
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CB4#FFFFFF#000000##FFFFFF
##902CB41.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#2760B1
Tritanopia (blue-blind)
#8D4A6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902cb4;
/* rgb */ color: rgb(144, 44, 180);
/* oklch */ color: oklch(50.7% 0.209 315.2);
Tailwind
colors: {
  custom: {
    50: '#b570cb',
    500: '#902cb4',
    950: '#000000',
  },
}
SCSS
$custom: #902cb4;
$custom-light: #b570cb;
$custom-dark: #000000;
JSON
{
  "hex": "#902cb4",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 284.118,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50661,
    "c": 0.20899,
    "h": 315.2
  },
  "luminance": 0.11026
}

Semantic roles & 50–950 ramp

primary
#902CB4
secondary
#8AC775
accent
#E4446E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #902CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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