#903B8A#903B8A

#903B8A is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.7% C 0.151 H 330.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#903B8A
RGBrgb(144, 59, 138)
HSLhsl(304, 42%, 40%)
HSVhsv(304, 59%, 56%)
CMYKcmyk(0%, 59%, 4.2%, 43.5%)
CIE-LABlab(39.40, 46.48, -27.30)
CIE-LCHlch(39.40, 53.90, 329.57°)
OKLaboklab(49.71% 0.1317 -0.0748)
OKLCHoklch(49.71% 0.151 330.4)
XYZxyz(17.6529, 10.8934, 25.2127)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903B8A #3B9041
analogous
#6B3B90 #903B8A #903B60
triadic
#903B8A #8A903B #3B8A90
tetradic
#903B8A #906B3B #3B9041 #3B6090
square
#903B8A #906B3B #3B9041 #3B6090
split-complementary
#903B8A #60903B #3B906B
monochromatic
#391737 #652960 #903B8A #B851B0 #C97CC4

Accessibility & contrast

On white

6.61
#903B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#903B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903B8A
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903B8A#FFFFFF#000000##FFFFFF
##903B8A1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558C
Deuteranopia (green-blind)
#516188
Tritanopia (blue-blind)
#95435D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #903b8a;
/* rgb */ color: rgb(144, 59, 138);
/* oklch */ color: oklch(49.7% 0.151 330.4);
Tailwind
colors: {
  custom: {
    50: '#b376ac',
    500: '#903b8a',
    950: '#000000',
  },
}
SCSS
$custom: #903b8a;
$custom-light: #b376ac;
$custom-dark: #000000;
JSON
{
  "hex": "#903b8a",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 304.235,
    "s": 41.872,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49705,
    "c": 0.15146,
    "h": 330.4
  },
  "luminance": 0.10892
}

Semantic roles & 50–950 ramp

primary
#903B8A
secondary
#74B378
accent
#D25F56
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #903B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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