#903CB2#903CB2

#903CB2 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.2% C 0.188 H 314.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#903CB2
RGBrgb(144, 60, 178)
HSLhsl(283, 50%, 47%)
HSVhsv(283, 66%, 70%)
CMYKcmyk(19.1%, 66.3%, 0%, 30.2%)
CIE-LABlab(41.81, 53.83, -47.50)
CIE-LCHlch(41.81, 71.79, 318.57°)
OKLaboklab(52.18% 0.132 -0.1336)
OKLCHoklch(52.18% 0.188 314.7)
XYZxyz(21.1520, 12.3761, 43.3854)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CB2 #5EB23C
analogous
#553CB2 #903CB2 #B23C99
triadic
#903CB2 #B2903C #3CB290
tetradic
#903CB2 #B2553C #5EB23C #3C99B2
square
#903CB2 #B2553C #5EB23C #3C99B2
split-complementary
#903CB2 #99B23C #3CB255
monochromatic
#461D56 #6B2D84 #903CB2 #AC61CA #C48FD9

Accessibility & contrast

On white

6.04
#903CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#903CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903CB2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CB2#FFFFFF#000000##FFFFFF
##903CB21.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#3865AF
Tritanopia (blue-blind)
#8D5372
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #903cb2;
/* rgb */ color: rgb(144, 60, 178);
/* oklch */ color: oklch(52.2% 0.188 314.7);
Tailwind
colors: {
  custom: {
    50: '#b478ca',
    500: '#903cb2',
    950: '#000000',
  },
}
SCSS
$custom: #903cb2;
$custom-light: #b478ca;
$custom-dark: #000000;
JSON
{
  "hex": "#903cb2",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 282.712,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52176,
    "c": 0.18778,
    "h": 314.7
  },
  "luminance": 0.12375
}

Semantic roles & 50–950 ramp

primary
#903CB2
secondary
#98C486
accent
#D94F77
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #903CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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