#903C8A#903C8A

#903C8A is a mid, vivid purple. Relative luminance 0.110; OKLCH L 49.8% C 0.150 H 330.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#903C8A
RGBrgb(144, 60, 138)
HSLhsl(304, 41%, 40%)
HSVhsv(304, 58%, 56%)
CMYKcmyk(0%, 58.3%, 4.2%, 43.5%)
CIE-LABlab(39.58, 46.00, -27.02)
CIE-LCHlch(39.58, 53.35, 329.57°)
OKLaboklab(49.83% 0.1303 -0.0741)
OKLCHoklch(49.83% 0.15 330.4)
XYZxyz(17.7048, 10.9972, 25.2300)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903C8A #3C9042
analogous
#6C3C90 #903C8A #903C60
triadic
#903C8A #8A903C #3C8A90
tetradic
#903C8A #906C3C #3C9042 #3C6090
square
#903C8A #906C3C #3C9042 #3C6090
split-complementary
#903C8A #60903C #3C906C
monochromatic
#3A1837 #652A61 #903C8A #B752B0 #C97DC4

Accessibility & contrast

On white

6.56
#903C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#903C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903C8A
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903C8A#FFFFFF#000000##FFFFFF
##903C8A1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568C
Deuteranopia (green-blind)
#526188
Tritanopia (blue-blind)
#95445D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #903c8a;
/* rgb */ color: rgb(144, 60, 138);
/* oklch */ color: oklch(49.8% 0.150 330.4);
Tailwind
colors: {
  custom: {
    50: '#b377ac',
    500: '#903c8a',
    950: '#000000',
  },
}
SCSS
$custom: #903c8a;
$custom-light: #b377ac;
$custom-dark: #000000;
JSON
{
  "hex": "#903c8a",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 304.286,
    "s": 41.176,
    "l": 40
  },
  "oklch": {
    "l": 0.49834,
    "c": 0.14989,
    "h": 330.4
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#903C8A
secondary
#75B379
accent
#D16057
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #903C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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