#903CB3#903CB3

#903CB3 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.2% C 0.189 H 314.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#903CB3
RGBrgb(144, 60, 179)
HSLhsl(282, 50%, 47%)
HSVhsv(282, 66%, 70%)
CMYKcmyk(19.6%, 66.5%, 0%, 29.8%)
CIE-LABlab(41.87, 54.04, -47.99)
CIE-LCHlch(41.87, 72.27, 318.39°)
OKLaboklab(52.24% 0.132 -0.135)
OKLCHoklch(52.24% 0.189 314.3)
XYZxyz(21.2528, 12.4164, 43.9162)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CB3 #5FB33C
analogous
#553CB3 #903CB3 #B33C9B
triadic
#903CB3 #B3903C #3CB390
tetradic
#903CB3 #B3553C #5FB33C #3C9BB3
square
#903CB3 #B3553C #5FB33C #3C9BB3
split-complementary
#903CB3 #9BB33C #3CB355
monochromatic
#461D57 #6B2D85 #903CB3 #AC62CA #C490DA

Accessibility & contrast

On white

6.03
#903CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#903CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903CB3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CB3#FFFFFF#000000##FFFFFF
##903CB31.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#3765B0
Tritanopia (blue-blind)
#8D5372
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #903cb3;
/* rgb */ color: rgb(144, 60, 179);
/* oklch */ color: oklch(52.2% 0.189 314.3);
Tailwind
colors: {
  custom: {
    50: '#b478ca',
    500: '#903cb3',
    950: '#000000',
  },
}
SCSS
$custom: #903cb3;
$custom-light: #b478ca;
$custom-dark: #000000;
JSON
{
  "hex": "#903cb3",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 282.353,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52241,
    "c": 0.18877,
    "h": 314.3
  },
  "luminance": 0.12416
}

Semantic roles & 50–950 ramp

primary
#903CB3
secondary
#99C586
accent
#D94E77
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #903CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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