#903EAA#903EAA

#903EAA is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.9% C 0.177 H 317.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#903EAA
RGBrgb(144, 62, 170)
HSLhsl(286, 47%, 45%)
HSVhsv(286, 64%, 67%)
CMYKcmyk(15.3%, 63.5%, 0%, 33.3%)
CIE-LABlab(41.65, 51.24, -43.01)
CIE-LCHlch(41.65, 66.90, 319.99°)
OKLaboklab(51.91% 0.1298 -0.1204)
OKLCHoklch(51.91% 0.177 317.2)
XYZxyz(20.4789, 12.2776, 39.3135)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903EAA #58AA3E
analogous
#5A3EAA #903EAA #AA3E8E
triadic
#903EAA #AA903E #3EAA90
tetradic
#903EAA #AA5A3E #58AA3E #3E8EAA
square
#903EAA #AA5A3E #58AA3E #3E8EAA
split-complementary
#903EAA #8EAA3E #3EAA5A
monochromatic
#441D50 #6A2E7D #903EAA #AD60C5 #C48DD5

Accessibility & contrast

On white

6.08
#903EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#903EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903EAA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903EAA#FFFFFF#000000##FFFFFF
##903EAA1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5DAD
Deuteranopia (green-blind)
#4165A7
Tritanopia (blue-blind)
#8F516E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #903eaa;
/* rgb */ color: rgb(144, 62, 170);
/* oklch */ color: oklch(51.9% 0.177 317.2);
Tailwind
colors: {
  custom: {
    50: '#b379c4',
    500: '#903eaa',
    950: '#000000',
  },
}
SCSS
$custom: #903eaa;
$custom-light: #b379c4;
$custom-dark: #000000;
JSON
{
  "hex": "#903eaa",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 285.556,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.17709,
    "h": 317.2
  },
  "luminance": 0.12277
}

Semantic roles & 50–950 ramp

primary
#903EAA
secondary
#92C084
accent
#D65272
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #903EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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