#903BB1#903BB1

#903BB1 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.0% C 0.188 H 315.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#903BB1
RGBrgb(144, 59, 177)
HSLhsl(283, 50%, 46%)
HSVhsv(283, 67%, 69%)
CMYKcmyk(18.6%, 66.7%, 0%, 30.6%)
CIE-LABlab(41.58, 54.07, -47.27)
CIE-LCHlch(41.58, 71.82, 318.84°)
OKLaboklab(51.99% 0.1332 -0.1329)
OKLCHoklch(51.99% 0.188 315.1)
XYZxyz(21.0001, 12.2323, 42.8413)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BB1 #5CB13B
analogous
#553BB1 #903BB1 #B13B97
triadic
#903BB1 #B1903B #3BB190
tetradic
#903BB1 #B1553B #5CB13B #3B97B1
square
#903BB1 #B1553B #5CB13B #3B97B1
split-complementary
#903BB1 #97B13B #3BB155
monochromatic
#451C55 #6B2C83 #903BB1 #AC5FCA #C48DD9

Accessibility & contrast

On white

6.09
#903BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#903BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BB1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BB1#FFFFFF#000000##FFFFFF
##903BB11.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#3864AE
Tritanopia (blue-blind)
#8D5271
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #903bb1;
/* rgb */ color: rgb(144, 59, 177);
/* oklch */ color: oklch(52.0% 0.188 315.1);
Tailwind
colors: {
  custom: {
    50: '#b477c9',
    500: '#903bb1',
    950: '#000000',
  },
}
SCSS
$custom: #903bb1;
$custom-light: #b477c9;
$custom-dark: #000000;
JSON
{
  "hex": "#903bb1",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 283.22,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51994,
    "c": 0.18815,
    "h": 315.1
  },
  "luminance": 0.12232
}

Semantic roles & 50–950 ramp

primary
#903BB1
secondary
#96C484
accent
#DA4E75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #903BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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