#903A8A#903A8A

#903A8A is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.6% C 0.153 H 330.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#903A8A
RGBrgb(144, 58, 138)
HSLhsl(304, 43%, 40%)
HSVhsv(304, 60%, 56%)
CMYKcmyk(0%, 59.7%, 4.2%, 43.5%)
CIE-LABlab(39.23, 46.95, -27.57)
CIE-LCHlch(39.23, 54.45, 329.58°)
OKLaboklab(49.58% 0.133 -0.0756)
OKLCHoklch(49.58% 0.153 330.4)
XYZxyz(17.6020, 10.7916, 25.1957)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903A8A #3A9040
analogous
#6B3A90 #903A8A #903A5F
triadic
#903A8A #8A903A #3A8A90
tetradic
#903A8A #906B3A #3A9040 #3A5F90
square
#903A8A #906B3A #3A9040 #3A5F90
split-complementary
#903A8A #5F903A #3A906B
monochromatic
#391736 #642860 #903A8A #B84FB1 #CA7BC4

Accessibility & contrast

On white

6.65
#903A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#903A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903A8A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903A8A#FFFFFF#000000##FFFFFF
##903A8A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558C
Deuteranopia (green-blind)
#506188
Tritanopia (blue-blind)
#95425C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #903a8a;
/* rgb */ color: rgb(144, 58, 138);
/* oklch */ color: oklch(49.6% 0.153 330.4);
Tailwind
colors: {
  custom: {
    50: '#b375ac',
    500: '#903a8a',
    950: '#000000',
  },
}
SCSS
$custom: #903a8a;
$custom-light: #b375ac;
$custom-dark: #000000;
JSON
{
  "hex": "#903a8a",
  "rgb": {
    "r": 144,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 304.186,
    "s": 42.574,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49578,
    "c": 0.15302,
    "h": 330.4
  },
  "luminance": 0.1079
}

Semantic roles & 50–950 ramp

primary
#903A8A
secondary
#73B377
accent
#D25E55
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #903A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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