#902DBD#902DBD

#902DBD is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.216 H 312.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#902DBD
RGBrgb(144, 45, 189)
HSLhsl(281, 62%, 46%)
HSVhsv(281, 76%, 74%)
CMYKcmyk(23.8%, 76.2%, 0%, 25.9%)
CIE-LABlab(40.38, 62.22, -56.28)
CIE-LCHlch(40.38, 83.90, 317.87°)
OKLaboklab(51.39% 0.146 -0.1592)
OKLCHoklch(51.39% 0.216 312.5)
XYZxyz(21.6236, 11.4808, 49.2112)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DBD #5ABD2D
analogous
#482DBD #902DBD #BD2DA2
triadic
#902DBD #BD902D #2DBD90
tetradic
#902DBD #BD482D #5ABD2D #2DA2BD
square
#902DBD #BD482D #5ABD2D #2DA2BD
split-complementary
#902DBD #A2BD2D #2DBD48
monochromatic
#45155A #6A218C #902DBD #AC52D6 #C483E1

Accessibility & contrast

On white

6.37
#902DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#902DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902DBD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DBD#FFFFFF#000000##FFFFFF
##902DBD1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#1861BA
Tritanopia (blue-blind)
#8B4F74
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902dbd;
/* rgb */ color: rgb(144, 45, 189);
/* oklch */ color: oklch(51.4% 0.216 312.5);
Tailwind
colors: {
  custom: {
    50: '#b571d2',
    500: '#902dbd',
    950: '#000000',
  },
}
SCSS
$custom: #902dbd;
$custom-light: #b571d2;
$custom-dark: #000000;
JSON
{
  "hex": "#902dbd",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 189
  },
  "hsl": {
    "h": 281.25,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51391,
    "c": 0.21603,
    "h": 312.5
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#902DBD
secondary
#94CB7B
accent
#E54376
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #902DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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