#903BAD#903BAD

#903BAD is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.7% C 0.184 H 316.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#903BAD
RGBrgb(144, 59, 173)
HSLhsl(285, 49%, 45%)
HSVhsv(285, 66%, 68%)
CMYKcmyk(16.8%, 65.9%, 0%, 32.2%)
CIE-LABlab(41.34, 53.24, -45.30)
CIE-LCHlch(41.34, 69.91, 319.61°)
OKLaboklab(51.74% 0.1334 -0.1271)
OKLCHoklch(51.74% 0.184 316.4)
XYZxyz(20.6072, 12.0751, 40.7723)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BAD #58AD3B
analogous
#573BAD #903BAD #AD3B91
triadic
#903BAD #AD903B #3BAD90
tetradic
#903BAD #AD573B #58AD3B #3B91AD
square
#903BAD #AD573B #58AD3B #3B91AD
split-complementary
#903BAD #91AD3B #3BAD57
monochromatic
#441C52 #6A2B7F #903BAD #AD5DC8 #C48BD7

Accessibility & contrast

On white

6.15
#903BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#903BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BAD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BAD#FFFFFF#000000##FFFFFF
##903BAD1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5CB0
Deuteranopia (green-blind)
#3C64AA
Tritanopia (blue-blind)
#8E506F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #903bad;
/* rgb */ color: rgb(144, 59, 173);
/* oklch */ color: oklch(51.7% 0.184 316.4);
Tailwind
colors: {
  custom: {
    50: '#b477c6',
    500: '#903bad',
    950: '#000000',
  },
}
SCSS
$custom: #903bad;
$custom-light: #b477c6;
$custom-dark: #000000;
JSON
{
  "hex": "#903bad",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 284.737,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51737,
    "c": 0.18424,
    "h": 316.4
  },
  "luminance": 0.12074
}

Semantic roles & 50–950 ramp

primary
#903BAD
secondary
#92C282
accent
#D94F72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #903BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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