#903EA4#903EA4

#903EA4 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.5% C 0.171 H 319.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#903EA4
RGBrgb(144, 62, 164)
HSLhsl(288, 45%, 44%)
HSVhsv(288, 62%, 64%)
CMYKcmyk(12.2%, 62.2%, 0%, 35.7%)
CIE-LABlab(41.30, 50.02, -40.00)
CIE-LCHlch(41.30, 64.04, 321.35°)
OKLaboklab(51.54% 0.1298 -0.1116)
OKLCHoklch(51.54% 0.171 319.3)
XYZxyz(19.9242, 12.0558, 36.3922)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903EA4 #52A43E
analogous
#5D3EA4 #903EA4 #A43E85
triadic
#903EA4 #A4903E #3EA490
tetradic
#903EA4 #A45D3E #52A43E #3E85A4
square
#903EA4 #A45D3E #52A43E #3E85A4
split-complementary
#903EA4 #85A43E #3EA45D
monochromatic
#421C4B #692D78 #903EA4 #AE5DC2 #C48AD3

Accessibility & contrast

On white

6.16
#903EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#903EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903EA4
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903EA4#FFFFFF#000000##FFFFFF
##903EA41.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA7
Deuteranopia (green-blind)
#4564A1
Tritanopia (blue-blind)
#904F6B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #903ea4;
/* rgb */ color: rgb(144, 62, 164);
/* oklch */ color: oklch(51.5% 0.171 319.3);
Tailwind
colors: {
  custom: {
    50: '#b378bf',
    500: '#903ea4',
    950: '#000000',
  },
}
SCSS
$custom: #903ea4;
$custom-light: #b378bf;
$custom-dark: #000000;
JSON
{
  "hex": "#903ea4",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 288.235,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51543,
    "c": 0.17118,
    "h": 319.3
  },
  "luminance": 0.12055
}

Semantic roles & 50–950 ramp

primary
#903EA4
secondary
#8CBD81
accent
#D5536C
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #903EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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