#903EA5#903EA5

#903EA5 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.6% C 0.172 H 318.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#903EA5
RGBrgb(144, 62, 165)
HSLhsl(288, 45%, 45%)
HSVhsv(288, 62%, 65%)
CMYKcmyk(12.7%, 62.4%, 0%, 35.3%)
CIE-LABlab(41.36, 50.22, -40.50)
CIE-LCHlch(41.36, 64.52, 321.11°)
OKLaboklab(51.6% 0.1298 -0.1131)
OKLCHoklch(51.6% 0.172 318.9)
XYZxyz(20.0149, 12.0920, 36.8697)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903EA5 #53A53E
analogous
#5D3EA5 #903EA5 #A53E87
triadic
#903EA5 #A5903E #3EA590
tetradic
#903EA5 #A55D3E #53A53E #3E87A5
square
#903EA5 #A55D3E #53A53E #3E87A5
split-complementary
#903EA5 #87A53E #3EA55D
monochromatic
#421D4C #692D79 #903EA5 #AE5EC2 #C48AD3

Accessibility & contrast

On white

6.14
#903EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#903EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903EA5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903EA5#FFFFFF#000000##FFFFFF
##903EA51.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225CA8
Deuteranopia (green-blind)
#4464A2
Tritanopia (blue-blind)
#904F6C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #903ea5;
/* rgb */ color: rgb(144, 62, 165);
/* oklch */ color: oklch(51.6% 0.172 318.9);
Tailwind
colors: {
  custom: {
    50: '#b378c0',
    500: '#903ea5',
    950: '#000000',
  },
}
SCSS
$custom: #903ea5;
$custom-light: #b378c0;
$custom-dark: #000000;
JSON
{
  "hex": "#903ea5",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 287.767,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51603,
    "c": 0.17216,
    "h": 318.9
  },
  "luminance": 0.12091
}

Semantic roles & 50–950 ramp

primary
#903EA5
secondary
#8DBE81
accent
#D5536D
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #903EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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