#903BB7#903BB7

#903BB7 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.4% C 0.194 H 313.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#903BB7
RGBrgb(144, 59, 183)
HSLhsl(281, 51%, 47%)
HSVhsv(281, 68%, 72%)
CMYKcmyk(21.3%, 67.8%, 0%, 28.2%)
CIE-LABlab(41.96, 55.33, -50.20)
CIE-LCHlch(41.96, 74.71, 317.78°)
OKLaboklab(52.39% 0.1328 -0.1414)
OKLCHoklch(52.39% 0.194 313.2)
XYZxyz(21.6113, 12.4768, 46.0604)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BB7 #62B73B
analogous
#523BB7 #903BB7 #B73BA0
triadic
#903BB7 #B7903B #3BB790
tetradic
#903BB7 #B7523B #62B73B #3BA0B7
square
#903BB7 #B7523B #62B73B #3BA0B7
split-complementary
#903BB7 #A0B73B #3BB752
monochromatic
#471D5A #6C2C89 #903BB7 #AB63CD #C491DC

Accessibility & contrast

On white

6.01
#903BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#903BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BB7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BB7#FFFFFF#000000##FFFFFF
##903BB71.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#3265B4
Tritanopia (blue-blind)
#8C5474
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #903bb7;
/* rgb */ color: rgb(144, 59, 183);
/* oklch */ color: oklch(52.4% 0.194 313.2);
Tailwind
colors: {
  custom: {
    50: '#b477cd',
    500: '#903bb7',
    950: '#000000',
  },
}
SCSS
$custom: #903bb7;
$custom-light: #b477cd;
$custom-dark: #000000;
JSON
{
  "hex": "#903bb7",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 281.129,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5239,
    "c": 0.19403,
    "h": 313.2
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#903BB7
secondary
#9BC687
accent
#DB4D7A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #903BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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