#902DB6#902DB6

#902DB6 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.210 H 314.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#902DB6
RGBrgb(144, 45, 182)
HSLhsl(283, 60%, 45%)
HSVhsv(283, 75%, 71%)
CMYKcmyk(20.9%, 75.3%, 0%, 28.6%)
CIE-LABlab(39.89, 60.80, -52.95)
CIE-LCHlch(39.89, 80.63, 318.95°)
OKLaboklab(50.89% 0.1471 -0.1494)
OKLCHoklch(50.89% 0.21 314.6)
XYZxyz(20.8821, 11.1842, 45.3057)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DB6 #53B62D
analogous
#4C2DB6 #902DB6 #B62D97
triadic
#902DB6 #B6902D #2DB690
tetradic
#902DB6 #B64C2D #53B62D #2D97B6
square
#902DB6 #B64C2D #53B62D #2D97B6
split-complementary
#902DB6 #97B62D #2DB64C
monochromatic
#421554 #692185 #902DB6 #AE4DD3 #C47EDF

Accessibility & contrast

On white

6.49
#902DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#902DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902DB6
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DB6#FFFFFF#000000##FFFFFF
##902DB61.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#2560B3
Tritanopia (blue-blind)
#8D4C70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902db6;
/* rgb */ color: rgb(144, 45, 182);
/* oklch */ color: oklch(50.9% 0.210 314.6);
Tailwind
colors: {
  custom: {
    50: '#b570cd',
    500: '#902db6',
    950: '#000000',
  },
}
SCSS
$custom: #902db6;
$custom-light: #b570cd;
$custom-dark: #000000;
JSON
{
  "hex": "#902db6",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 283.358,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50891,
    "c": 0.20972,
    "h": 314.6
  },
  "luminance": 0.11183
}

Semantic roles & 50–950 ramp

primary
#902DB6
secondary
#8DC877
accent
#E34470
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #902DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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