#903D9D#903D9D

#903D9D is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.0% C 0.166 H 322.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#903D9D
RGBrgb(144, 61, 157)
HSLhsl(292, 44%, 43%)
HSVhsv(292, 61%, 62%)
CMYKcmyk(8.3%, 61.1%, 0%, 38.4%)
CIE-LABlab(40.74, 49.09, -36.70)
CIE-LCHlch(40.74, 61.30, 323.22°)
OKLaboklab(51% 0.1308 -0.102)
OKLCHoklch(51% 0.166 322)
XYZxyz(19.2555, 11.7021, 33.1362)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903D9D #4A9D3D
analogous
#603D9D #903D9D #9D3D7A
triadic
#903D9D #9D903D #3D9D90
tetradic
#903D9D #9D603D #4A9D3D #3D7A9D
square
#903D9D #9D603D #4A9D3D #3D7A9D
split-complementary
#903D9D #7A9D3D #3D9D60
monochromatic
#3F1B45 #682C71 #903D9D #B159BE #C585D0

Accessibility & contrast

On white

6.29
#903D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#903D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903D9D
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903D9D#FFFFFF#000000##FFFFFF
##903D9D1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA0
Deuteranopia (green-blind)
#49639A
Tritanopia (blue-blind)
#924C67
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #903d9d;
/* rgb */ color: rgb(144, 61, 157);
/* oklch */ color: oklch(51.0% 0.166 322.0);
Tailwind
colors: {
  custom: {
    50: '#b378ba',
    500: '#903d9d',
    950: '#000000',
  },
}
SCSS
$custom: #903d9d;
$custom-light: #b378ba;
$custom-dark: #000000;
JSON
{
  "hex": "#903d9d",
  "rgb": {
    "r": 144,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 291.875,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51004,
    "c": 0.16588,
    "h": 322
  },
  "luminance": 0.11701
}

Semantic roles & 50–950 ramp

primary
#903D9D
secondary
#84BA7C
accent
#D45465
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #903D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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