#902DB9#902DB9

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

Color values

HEX#902DB9
RGBrgb(144, 45, 185)
HSLhsl(282, 61%, 45%)
HSVhsv(282, 76%, 73%)
CMYKcmyk(22.2%, 75.7%, 0%, 27.5%)
CIE-LABlab(40.10, 61.41, -54.38)
CIE-LCHlch(40.10, 82.03, 318.47°)
OKLaboklab(51.1% 0.1467 -0.1536)
OKLCHoklch(51.1% 0.212 313.7)
XYZxyz(21.1954, 11.3095, 46.9560)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DB9 #56B92D
analogous
#4A2DB9 #902DB9 #B92D9C
triadic
#902DB9 #B9902D #2DB990
tetradic
#902DB9 #B94A2D #56B92D #2D9CB9
square
#902DB9 #B94A2D #56B92D #2D9CB9
split-complementary
#902DB9 #9CB92D #2DB94A
monochromatic
#431557 #6A2188 #902DB9 #AD4FD4 #C480E0

Accessibility & contrast

On white

6.44
#902DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#902DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902DB9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DB9#FFFFFF#000000##FFFFFF
##902DB91.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#2061B6
Tritanopia (blue-blind)
#8C4D72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902db9;
/* rgb */ color: rgb(144, 45, 185);
/* oklch */ color: oklch(51.1% 0.212 313.7);
Tailwind
colors: {
  custom: {
    50: '#b571cf',
    500: '#902db9',
    950: '#000000',
  },
}
SCSS
$custom: #902db9;
$custom-light: #b571cf;
$custom-dark: #000000;
JSON
{
  "hex": "#902db9",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 282.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51103,
    "c": 0.21242,
    "h": 313.7
  },
  "luminance": 0.11309
}

Semantic roles & 50–950 ramp

primary
#902DB9
secondary
#90C979
accent
#E44473
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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