#903BB9#903BB9

#903BB9 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.5% C 0.196 H 312.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#903BB9
RGBrgb(144, 59, 185)
HSLhsl(280, 52%, 48%)
HSVhsv(280, 68%, 73%)
CMYKcmyk(22.2%, 68.1%, 0%, 27.5%)
CIE-LABlab(42.09, 55.76, -51.17)
CIE-LCHlch(42.09, 75.67, 317.46°)
OKLaboklab(52.52% 0.1327 -0.1443)
OKLCHoklch(52.52% 0.196 312.6)
XYZxyz(21.8210, 12.5606, 47.1645)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BB9 #64B93B
analogous
#513BB9 #903BB9 #B93BA3
triadic
#903BB9 #B9903B #3BB990
tetradic
#903BB9 #B9513B #64B93B #3BA3B9
square
#903BB9 #B9513B #64B93B #3BA3B9
split-complementary
#903BB9 #A3B93B #3BB951
monochromatic
#481D5C #6C2C8B #903BB9 #AB64CD #C492DC

Accessibility & contrast

On white

5.98
#903BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#903BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BB9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BB9#FFFFFF#000000##FFFFFF
##903BB91.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#3065B6
Tritanopia (blue-blind)
#8B5575
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #903bb9;
/* rgb */ color: rgb(144, 59, 185);
/* oklch */ color: oklch(52.5% 0.196 312.6);
Tailwind
colors: {
  custom: {
    50: '#b477cf',
    500: '#903bb9',
    950: '#000000',
  },
}
SCSS
$custom: #903bb9;
$custom-light: #b477cf;
$custom-dark: #000000;
JSON
{
  "hex": "#903bb9",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 280.476,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.19601,
    "h": 312.6
  },
  "luminance": 0.1256
}

Semantic roles & 50–950 ramp

primary
#903BB9
secondary
#9DC788
accent
#DB4D7B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #903BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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