#903CB7#903CB7

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

Color values

HEX#903CB7
RGBrgb(144, 60, 183)
HSLhsl(281, 51%, 48%)
HSVhsv(281, 67%, 72%)
CMYKcmyk(21.3%, 67.2%, 0%, 28.2%)
CIE-LABlab(42.12, 54.88, -49.94)
CIE-LCHlch(42.12, 74.21, 317.70°)
OKLaboklab(52.51% 0.1317 -0.1407)
OKLCHoklch(52.51% 0.193 313.1)
XYZxyz(21.6632, 12.5805, 46.0777)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CB7 #63B73C
analogous
#533CB7 #903CB7 #B73CA0
triadic
#903CB7 #B7903C #3CB790
tetradic
#903CB7 #B7533C #63B73C #3CA0B7
square
#903CB7 #B7533C #63B73C #3CA0B7
split-complementary
#903CB7 #A0B73C #3CB753
monochromatic
#471E5B #6C2D89 #903CB7 #AB64CC #C492DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##903CB7#FFFFFF#000000##FFFFFF
##903CB71.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)
#005FBB
Deuteranopia (green-blind)
#3365B4
Tritanopia (blue-blind)
#8C5575
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #903cb7;
/* rgb */ color: rgb(144, 60, 183);
/* oklch */ color: oklch(52.5% 0.193 313.1);
Tailwind
colors: {
  custom: {
    50: '#b478cd',
    500: '#903cb7',
    950: '#000000',
  },
}
SCSS
$custom: #903cb7;
$custom-light: #b478cd;
$custom-dark: #000000;
JSON
{
  "hex": "#903cb7",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 280.976,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52505,
    "c": 0.19273,
    "h": 313.1
  },
  "luminance": 0.1258
}

Semantic roles & 50–950 ramp

primary
#903CB7
secondary
#9CC688
accent
#DA4E7A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #903CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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