#902DB7#902DB7

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

Color values

HEX#902DB7
RGBrgb(144, 45, 183)
HSLhsl(283, 61%, 45%)
HSVhsv(283, 75%, 72%)
CMYKcmyk(21.3%, 75.4%, 0%, 28.2%)
CIE-LABlab(39.96, 61.00, -53.43)
CIE-LCHlch(39.96, 81.09, 318.79°)
OKLaboklab(50.96% 0.147 -0.1509)
OKLCHoklch(50.96% 0.211 314.3)
XYZxyz(20.9858, 11.2257, 45.8519)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DB7 #54B72D
analogous
#4B2DB7 #902DB7 #B72D99
triadic
#902DB7 #B7902D #2DB790
tetradic
#902DB7 #B74B2D #54B72D #2D99B7
square
#902DB7 #B74B2D #54B72D #2D99B7
split-complementary
#902DB7 #99B72D #2DB74B
monochromatic
#431555 #692186 #902DB7 #AE4ED3 #C47FDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##902DB7#FFFFFF#000000##FFFFFF
##902DB71.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)
#0059BB
Deuteranopia (green-blind)
#2360B4
Tritanopia (blue-blind)
#8C4C70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902db7;
/* rgb */ color: rgb(144, 45, 183);
/* oklch */ color: oklch(51.0% 0.211 314.3);
Tailwind
colors: {
  custom: {
    50: '#b570cd',
    500: '#902db7',
    950: '#000000',
  },
}
SCSS
$custom: #902db7;
$custom-light: #b570cd;
$custom-dark: #000000;
JSON
{
  "hex": "#902db7",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 283.043,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50961,
    "c": 0.21062,
    "h": 314.3
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

primary
#902DB7
secondary
#8EC878
accent
#E44471
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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