#903BB0#903BB0

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

Color values

HEX#903BB0
RGBrgb(144, 59, 176)
HSLhsl(284, 50%, 46%)
HSVhsv(284, 66%, 69%)
CMYKcmyk(18.2%, 66.5%, 0%, 31%)
CIE-LABlab(41.52, 53.86, -46.78)
CIE-LCHlch(41.52, 71.34, 319.02°)
OKLaboklab(51.93% 0.1333 -0.1314)
OKLCHoklch(51.93% 0.187 315.4)
XYZxyz(20.9008, 12.1925, 42.3183)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BB0 #5BB03B
analogous
#553BB0 #903BB0 #B03B95
triadic
#903BB0 #B0903B #3BB090
tetradic
#903BB0 #B0553B #5BB03B #3B95B0
square
#903BB0 #B0553B #5BB03B #3B95B0
split-complementary
#903BB0 #95B03B #3BB055
monochromatic
#451C54 #6A2C82 #903BB0 #AC5FC9 #C48DD9

Accessibility & contrast

On white

6.11
#903BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#903BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BB0
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BB0#FFFFFF#000000##FFFFFF
##903BB01.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB3
Deuteranopia (green-blind)
#3964AD
Tritanopia (blue-blind)
#8E5170
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #903bb0;
/* rgb */ color: rgb(144, 59, 176);
/* oklch */ color: oklch(51.9% 0.187 315.4);
Tailwind
colors: {
  custom: {
    50: '#b477c8',
    500: '#903bb0',
    950: '#000000',
  },
}
SCSS
$custom: #903bb0;
$custom-light: #b477c8;
$custom-dark: #000000;
JSON
{
  "hex": "#903bb0",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 283.59,
    "s": 49.787,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51929,
    "c": 0.18717,
    "h": 315.4
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

primary
#903BB0
secondary
#95C383
accent
#D94E74
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #903BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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