#903CB8#903CB8

#903CB8 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.194 H 312.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#903CB8
RGBrgb(144, 60, 184)
HSLhsl(281, 51%, 48%)
HSVhsv(281, 67%, 72%)
CMYKcmyk(21.7%, 67.4%, 0%, 27.8%)
CIE-LABlab(42.19, 55.10, -50.43)
CIE-LCHlch(42.19, 74.69, 317.54°)
OKLaboklab(52.57% 0.1316 -0.1421)
OKLCHoklch(52.57% 0.194 312.8)
XYZxyz(21.7677, 12.6223, 46.6278)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CB8 #64B83C
analogous
#523CB8 #903CB8 #B83CA2
triadic
#903CB8 #B8903C #3CB890
tetradic
#903CB8 #B8523C #64B83C #3CA2B8
square
#903CB8 #B8523C #64B83C #3CA2B8
split-complementary
#903CB8 #A2B83C #3CB852
monochromatic
#481E5C #6C2D8A #903CB8 #AB65CD #C493DC

Accessibility & contrast

On white

5.96
#903CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #903CB8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CB8#FFFFFF#000000##FFFFFF
##903CB81.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#3265B5
Tritanopia (blue-blind)
#8C5575
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #903cb8;
/* rgb */ color: rgb(144, 60, 184);
/* oklch */ color: oklch(52.6% 0.194 312.8);
Tailwind
colors: {
  custom: {
    50: '#b478ce',
    500: '#903cb8',
    950: '#000000',
  },
}
SCSS
$custom: #903cb8;
$custom-light: #b478ce;
$custom-dark: #000000;
JSON
{
  "hex": "#903cb8",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 280.645,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52571,
    "c": 0.19371,
    "h": 312.8
  },
  "luminance": 0.12622
}

Semantic roles & 50–950 ramp

primary
#903CB8
secondary
#9DC789
accent
#DA4D7B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #903CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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