#902CB9#902CB9

#902CB9 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.213 H 313.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#902CB9
RGBrgb(144, 44, 185)
HSLhsl(283, 62%, 45%)
HSVhsv(283, 76%, 73%)
CMYKcmyk(22.2%, 76.2%, 0%, 27.5%)
CIE-LABlab(39.97, 61.77, -54.59)
CIE-LCHlch(39.97, 82.43, 318.53°)
OKLaboklab(51.02% 0.1476 -0.1542)
OKLCHoklch(51.02% 0.213 313.7)
XYZxyz(21.1577, 11.2341, 46.9434)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CB9 #55B92C
analogous
#492CB9 #902CB9 #B92C9C
triadic
#902CB9 #B9902C #2CB990
tetradic
#902CB9 #B9492C #55B92C #2C9CB9
square
#902CB9 #B9492C #55B92C #2C9CB9
split-complementary
#902CB9 #9CB92C #2CB949
monochromatic
#431456 #6A2088 #902CB9 #AD4DD5 #C47FE1

Accessibility & contrast

On white

6.47
#902CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#902CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CB9
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CB9#FFFFFF#000000##FFFFFF
##902CB91.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#1F60B6
Tritanopia (blue-blind)
#8C4C71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902cb9;
/* rgb */ color: rgb(144, 44, 185);
/* oklch */ color: oklch(51.0% 0.213 313.7);
Tailwind
colors: {
  custom: {
    50: '#b570cf',
    500: '#902cb9',
    950: '#000000',
  },
}
SCSS
$custom: #902cb9;
$custom-light: #b570cf;
$custom-dark: #000000;
JSON
{
  "hex": "#902cb9",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 282.553,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51015,
    "c": 0.21346,
    "h": 313.7
  },
  "luminance": 0.11233
}

Semantic roles & 50–950 ramp

primary
#902CB9
secondary
#8FC978
accent
#E54372
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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