#902DB0#902DB0

#902DB0 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.204 H 316.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#902DB0
RGBrgb(144, 45, 176)
HSLhsl(285, 59%, 43%)
HSVhsv(285, 74%, 69%)
CMYKcmyk(18.2%, 74.4%, 0%, 31%)
CIE-LABlab(39.48, 59.61, -50.06)
CIE-LCHlch(39.48, 77.84, 319.98°)
OKLaboklab(50.47% 0.148 -0.1409)
OKLCHoklch(50.47% 0.204 316.4)
XYZxyz(20.2753, 10.9415, 42.1098)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DB0 #4DB02D
analogous
#4F2DB0 #902DB0 #B02D8E
triadic
#902DB0 #B0902D #2DB090
tetradic
#902DB0 #B04F2D #4DB02D #2D8EB0
square
#902DB0 #B04F2D #4DB02D #2D8EB0
split-complementary
#902DB0 #8EB02D #2DB04F
monochromatic
#40144F #68217F #902DB0 #B04AD1 #C57ADD

Accessibility & contrast

On white

6.59
#902DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#902DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902DB0
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DB0#FFFFFF#000000##FFFFFF
##902DB01.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#2D60AD
Tritanopia (blue-blind)
#8E496C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902db0;
/* rgb */ color: rgb(144, 45, 176);
/* oklch */ color: oklch(50.5% 0.204 316.4);
Tailwind
colors: {
  custom: {
    50: '#b570c8',
    500: '#902db0',
    950: '#000000',
  },
}
SCSS
$custom: #902db0;
$custom-light: #b570c8;
$custom-dark: #000000;
JSON
{
  "hex": "#902db0",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 285.344,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50473,
    "c": 0.20434,
    "h": 316.4
  },
  "luminance": 0.10941
}

Semantic roles & 50–950 ramp

primary
#902DB0
secondary
#87C573
accent
#E2456C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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