#903DA4#903DA4

#903DA4 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.4% C 0.173 H 319.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#903DA4
RGBrgb(144, 61, 164)
HSLhsl(288, 46%, 44%)
HSVhsv(288, 63%, 64%)
CMYKcmyk(12.2%, 62.8%, 0%, 35.7%)
CIE-LABlab(41.13, 50.49, -40.27)
CIE-LCHlch(41.13, 64.58, 321.42°)
OKLaboklab(51.42% 0.131 -0.1124)
OKLCHoklch(51.42% 0.173 319.4)
XYZxyz(19.8703, 11.9480, 36.3743)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903DA4 #51A43D
analogous
#5D3DA4 #903DA4 #A43D85
triadic
#903DA4 #A4903D #3DA490
tetradic
#903DA4 #A45D3D #51A43D #3D85A4
square
#903DA4 #A45D3D #51A43D #3D85A4
split-complementary
#903DA4 #85A43D #3DA45D
monochromatic
#421C4B #692C77 #903DA4 #AE5CC2 #C488D3

Accessibility & contrast

On white

6.20
#903DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#903DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903DA4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903DA4#FFFFFF#000000##FFFFFF
##903DA41.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215BA7
Deuteranopia (green-blind)
#4464A1
Tritanopia (blue-blind)
#904E6B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #903da4;
/* rgb */ color: rgb(144, 61, 164);
/* oklch */ color: oklch(51.4% 0.173 319.4);
Tailwind
colors: {
  custom: {
    50: '#b378bf',
    500: '#903da4',
    950: '#000000',
  },
}
SCSS
$custom: #903da4;
$custom-light: #b378bf;
$custom-dark: #000000;
JSON
{
  "hex": "#903da4",
  "rgb": {
    "r": 144,
    "g": 61,
    "b": 164
  },
  "hsl": {
    "h": 288.35,
    "s": 45.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51418,
    "c": 0.17264,
    "h": 319.4
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

primary
#903DA4
secondary
#8BBD7F
accent
#D5526C
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #903DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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