#902DB3#902DB3

#902DB3 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.207 H 315.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#902DB3
RGBrgb(144, 45, 179)
HSLhsl(284, 60%, 44%)
HSVhsv(284, 75%, 70%)
CMYKcmyk(19.6%, 74.9%, 0%, 29.8%)
CIE-LABlab(39.68, 60.20, -51.51)
CIE-LCHlch(39.68, 79.23, 319.45°)
OKLaboklab(50.68% 0.1476 -0.1452)
OKLCHoklch(50.68% 0.207 315.5)
XYZxyz(20.5754, 11.0615, 43.6903)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DB3 #50B32D
analogous
#4D2DB3 #902DB3 #B32D93
triadic
#902DB3 #B3902D #2DB390
tetradic
#902DB3 #B34D2D #50B32D #2D93B3
square
#902DB3 #B34D2D #50B32D #2D93B3
split-complementary
#902DB3 #93B32D #2DB34D
monochromatic
#411451 #692182 #902DB3 #AF4BD2 #C57CDE

Accessibility & contrast

On white

6.54
#902DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#902DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902DB3
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DB3#FFFFFF#000000##FFFFFF
##902DB31.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#2960B0
Tritanopia (blue-blind)
#8D4A6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902db3;
/* rgb */ color: rgb(144, 45, 179);
/* oklch */ color: oklch(50.7% 0.207 315.5);
Tailwind
colors: {
  custom: {
    50: '#b570ca',
    500: '#902db3',
    950: '#000000',
  },
}
SCSS
$custom: #902db3;
$custom-light: #b570ca;
$custom-dark: #000000;
JSON
{
  "hex": "#902db3",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 284.328,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5068,
    "c": 0.20703,
    "h": 315.5
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#902DB3
secondary
#8AC775
accent
#E3456E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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