#903AB2#903AB2

#903AB2 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.9% C 0.190 H 314.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#903AB2
RGBrgb(144, 58, 178)
HSLhsl(283, 51%, 46%)
HSVhsv(283, 67%, 70%)
CMYKcmyk(19.1%, 67.4%, 0%, 30.2%)
CIE-LABlab(41.49, 54.72, -48.02)
CIE-LCHlch(41.49, 72.80, 318.73°)
OKLaboklab(51.94% 0.1343 -0.1351)
OKLCHoklch(51.94% 0.19 314.8)
XYZxyz(21.0492, 12.1705, 43.3512)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903AB2 #5CB23A
analogous
#543AB2 #903AB2 #B23A98
triadic
#903AB2 #B2903A #3AB290
tetradic
#903AB2 #B2543A #5CB23A #3A98B2
square
#903AB2 #B2543A #5CB23A #3A98B2
split-complementary
#903AB2 #98B23A #3AB254
monochromatic
#451C56 #6B2B84 #903AB2 #AC5FCB #C48DDA

Accessibility & contrast

On white

6.12
#903AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#903AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903AB2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903AB2#FFFFFF#000000##FFFFFF
##903AB21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3664AF
Tritanopia (blue-blind)
#8D5171
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #903ab2;
/* rgb */ color: rgb(144, 58, 178);
/* oklch */ color: oklch(51.9% 0.190 314.8);
Tailwind
colors: {
  custom: {
    50: '#b477ca',
    500: '#903ab2',
    950: '#000000',
  },
}
SCSS
$custom: #903ab2;
$custom-light: #b477ca;
$custom-dark: #000000;
JSON
{
  "hex": "#903ab2",
  "rgb": {
    "r": 144,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 283,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51945,
    "c": 0.19045,
    "h": 314.8
  },
  "luminance": 0.1217
}

Semantic roles & 50–950 ramp

primary
#903AB2
secondary
#96C483
accent
#DA4D75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #903AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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