#902DB1#902DB1

#902DB1 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.5% C 0.205 H 316.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#902DB1
RGBrgb(144, 45, 177)
HSLhsl(285, 59%, 44%)
HSVhsv(285, 75%, 69%)
CMYKcmyk(18.6%, 74.6%, 0%, 30.6%)
CIE-LABlab(39.55, 59.81, -50.54)
CIE-LCHlch(39.55, 78.30, 319.80°)
OKLaboklab(50.54% 0.1478 -0.1424)
OKLCHoklch(50.54% 0.205 316.1)
XYZxyz(20.3746, 10.9812, 42.6328)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DB1 #4EB12D
analogous
#4E2DB1 #902DB1 #B12D90
triadic
#902DB1 #B1902D #2DB190
tetradic
#902DB1 #B14E2D #4EB12D #2D90B1
square
#902DB1 #B14E2D #4EB12D #2D90B1
split-complementary
#902DB1 #90B12D #2DB14E
monochromatic
#41144F #682180 #902DB1 #AF4AD1 #C57BDD

Accessibility & contrast

On white

6.57
#902DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#902DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902DB1
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DB1#FFFFFF#000000##FFFFFF
##902DB11.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#2C60AE
Tritanopia (blue-blind)
#8E496D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902db1;
/* rgb */ color: rgb(144, 45, 177);
/* oklch */ color: oklch(50.5% 0.205 316.1);
Tailwind
colors: {
  custom: {
    50: '#b570c9',
    500: '#902db1',
    950: '#000000',
  },
}
SCSS
$custom: #902db1;
$custom-light: #b570c9;
$custom-dark: #000000;
JSON
{
  "hex": "#902db1",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 285,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50542,
    "c": 0.20523,
    "h": 316.1
  },
  "luminance": 0.1098
}

Semantic roles & 50–950 ramp

primary
#902DB1
secondary
#88C674
accent
#E3456D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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