#902BAD#902BAD

#902BAD is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.204 H 317.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#902BAD
RGBrgb(144, 43, 173)
HSLhsl(287, 60%, 42%)
HSVhsv(287, 75%, 68%)
CMYKcmyk(16.8%, 75.1%, 0%, 32.2%)
CIE-LABlab(39.03, 59.75, -49.00)
CIE-LCHlch(39.03, 77.27, 320.64°)
OKLaboklab(50.09% 0.1502 -0.1378)
OKLCHoklch(50.09% 0.204 317.5)
XYZxyz(19.9072, 10.6750, 40.5389)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BAD #48AD2B
analogous
#4F2BAD #902BAD #AD2B89
triadic
#902BAD #AD902B #2BAD90
tetradic
#902BAD #AD4F2B #48AD2B #2B89AD
square
#902BAD #AD4F2B #48AD2B #2B89AD
split-complementary
#902BAD #89AD2B #2BAD4F
monochromatic
#3E134B #671F7C #902BAD #B145D1 #C676DD

Accessibility & contrast

On white

6.70
#902BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#902BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BAD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BAD#FFFFFF#000000##FFFFFF
##902BAD1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#2F5FAA
Tritanopia (blue-blind)
#8F476A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902bad;
/* rgb */ color: rgb(144, 43, 173);
/* oklch */ color: oklch(50.1% 0.204 317.5);
Tailwind
colors: {
  custom: {
    50: '#b56fc6',
    500: '#902bad',
    950: '#000000',
  },
}
SCSS
$custom: #902bad;
$custom-light: #b56fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#902bad",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 286.615,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50087,
    "c": 0.20385,
    "h": 317.5
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#902BAD
secondary
#82C46F
accent
#E34468
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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