#902CB6#902CB6

#902CB6 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.211 H 314.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#902CB6
RGBrgb(144, 44, 182)
HSLhsl(283, 61%, 44%)
HSVhsv(283, 76%, 71%)
CMYKcmyk(20.9%, 75.8%, 0%, 28.6%)
CIE-LABlab(39.76, 61.16, -53.15)
CIE-LCHlch(39.76, 81.03, 319.01°)
OKLaboklab(50.8% 0.148 -0.15)
OKLCHoklch(50.8% 0.211 314.6)
XYZxyz(20.8444, 11.1088, 45.2931)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CB6 #52B62C
analogous
#4B2CB6 #902CB6 #B62C97
triadic
#902CB6 #B6902C #2CB690
tetradic
#902CB6 #B64B2C #52B62C #2C97B6
square
#902CB6 #B64B2C #52B62C #2C97B6
split-complementary
#902CB6 #97B62C #2CB64B
monochromatic
#421453 #692085 #902CB6 #AE4CD4 #C47DE0

Accessibility & contrast

On white

6.52
#902CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#902CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CB6
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CB6#FFFFFF#000000##FFFFFF
##902CB61.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#2460B3
Tritanopia (blue-blind)
#8D4B70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902cb6;
/* rgb */ color: rgb(144, 44, 182);
/* oklch */ color: oklch(50.8% 0.211 314.6);
Tailwind
colors: {
  custom: {
    50: '#b570cd',
    500: '#902cb6',
    950: '#000000',
  },
}
SCSS
$custom: #902cb6;
$custom-light: #b570cd;
$custom-dark: #000000;
JSON
{
  "hex": "#902cb6",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 283.478,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50802,
    "c": 0.21077,
    "h": 314.6
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#902CB6
secondary
#8CC876
accent
#E44470
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #902CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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