#903BB8#903BB8

#903BB8 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.195 H 312.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#903BB8
RGBrgb(144, 59, 184)
HSLhsl(281, 51%, 48%)
HSVhsv(281, 68%, 72%)
CMYKcmyk(21.7%, 67.9%, 0%, 27.8%)
CIE-LABlab(42.03, 55.54, -50.68)
CIE-LCHlch(42.03, 75.19, 317.62°)
OKLaboklab(52.46% 0.1328 -0.1429)
OKLCHoklch(52.46% 0.195 312.9)
XYZxyz(21.7158, 12.5185, 46.6105)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BB8 #63B83B
analogous
#523BB8 #903BB8 #B83BA1
triadic
#903BB8 #B8903B #3BB890
tetradic
#903BB8 #B8523B #63B83B #3BA1B8
square
#903BB8 #B8523B #63B83B #3BA1B8
split-complementary
#903BB8 #A1B83B #3BB852
monochromatic
#471D5B #6C2C8A #903BB8 #AB63CD #C492DC

Accessibility & contrast

On white

5.99
#903BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #903BB8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BB8#FFFFFF#000000##FFFFFF
##903BB81.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#3165B5
Tritanopia (blue-blind)
#8C5475
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #903bb8;
/* rgb */ color: rgb(144, 59, 184);
/* oklch */ color: oklch(52.5% 0.195 312.9);
Tailwind
colors: {
  custom: {
    50: '#b477ce',
    500: '#903bb8',
    950: '#000000',
  },
}
SCSS
$custom: #903bb8;
$custom-light: #b477ce;
$custom-dark: #000000;
JSON
{
  "hex": "#903bb8",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 280.8,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.19502,
    "h": 312.9
  },
  "luminance": 0.12518
}

Semantic roles & 50–950 ramp

primary
#903BB8
secondary
#9CC788
accent
#DB4D7A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #903BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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