#903BBA#903BBA

#903BBA is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.197 H 312.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#903BBA
RGBrgb(144, 59, 186)
HSLhsl(280, 52%, 48%)
HSVhsv(280, 68%, 73%)
CMYKcmyk(22.6%, 68.3%, 0%, 27.1%)
CIE-LABlab(42.16, 55.97, -51.65)
CIE-LCHlch(42.16, 76.16, 317.30°)
OKLaboklab(52.59% 0.1326 -0.1457)
OKLCHoklch(52.59% 0.197 312.3)
XYZxyz(21.9269, 12.6030, 47.7224)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BBA #65BA3B
analogous
#503BBA #903BBA #BA3BA5
triadic
#903BBA #BA903B #3BBA90
tetradic
#903BBA #BA503B #65BA3B #3BA5BA
square
#903BBA #BA503B #65BA3B #3BA5BA
split-complementary
#903BBA #A5BA3B #3BBA50
monochromatic
#481E5D #6C2C8C #903BBA #AB64CE #C493DD

Accessibility & contrast

On white

5.97
#903BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#903BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BBA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BBA#FFFFFF#000000##FFFFFF
##903BBA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#2F65B7
Tritanopia (blue-blind)
#8B5576
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #903bba;
/* rgb */ color: rgb(144, 59, 186);
/* oklch */ color: oklch(52.6% 0.197 312.3);
Tailwind
colors: {
  custom: {
    50: '#b477cf',
    500: '#903bba',
    950: '#000000',
  },
}
SCSS
$custom: #903bba;
$custom-light: #b477cf;
$custom-dark: #000000;
JSON
{
  "hex": "#903bba",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 280.157,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52592,
    "c": 0.19699,
    "h": 312.3
  },
  "luminance": 0.12602
}

Semantic roles & 50–950 ramp

primary
#903BBA
secondary
#9EC889
accent
#DB4D7C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #903BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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