#902DB8#902DB8

#902DB8 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.212 H 314.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#902DB8
RGBrgb(144, 45, 184)
HSLhsl(283, 61%, 45%)
HSVhsv(283, 76%, 72%)
CMYKcmyk(21.7%, 75.5%, 0%, 27.8%)
CIE-LABlab(40.03, 61.21, -53.91)
CIE-LCHlch(40.03, 81.56, 318.63°)
OKLaboklab(51.03% 0.1468 -0.1522)
OKLCHoklch(51.03% 0.212 314)
XYZxyz(21.0902, 11.2675, 46.4020)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DB8 #55B82D
analogous
#4B2DB8 #902DB8 #B82D9A
triadic
#902DB8 #B8902D #2DB890
tetradic
#902DB8 #B84B2D #55B82D #2D9AB8
square
#902DB8 #B84B2D #55B82D #2D9AB8
split-complementary
#902DB8 #9AB82D #2DB84B
monochromatic
#431556 #6A2187 #902DB8 #AD4ED4 #C480E0

Accessibility & contrast

On white

6.45
#902DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #902DB8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DB8#FFFFFF#000000##FFFFFF
##902DB81.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#2261B5
Tritanopia (blue-blind)
#8C4D71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902db8;
/* rgb */ color: rgb(144, 45, 184);
/* oklch */ color: oklch(51.0% 0.212 314.0);
Tailwind
colors: {
  custom: {
    50: '#b571ce',
    500: '#902db8',
    950: '#000000',
  },
}
SCSS
$custom: #902db8;
$custom-light: #b571ce;
$custom-dark: #000000;
JSON
{
  "hex": "#902db8",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 282.734,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.21152,
    "h": 314
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #902DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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