#903E9D#903E9D

#903E9D is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.1% C 0.164 H 322.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#903E9D
RGBrgb(144, 62, 157)
HSLhsl(292, 43%, 43%)
HSVhsv(292, 61%, 62%)
CMYKcmyk(8.3%, 60.5%, 0%, 38.4%)
CIE-LABlab(40.91, 48.62, -36.43)
CIE-LCHlch(40.91, 60.75, 323.16°)
OKLaboklab(51.13% 0.1295 -0.1012)
OKLCHoklch(51.13% 0.164 322)
XYZxyz(19.3094, 11.8098, 33.1542)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903E9D #4B9D3E
analogous
#603E9D #903E9D #9D3E7B
triadic
#903E9D #9D903E #3E9D90
tetradic
#903E9D #9D603E #4B9D3E #3E7B9D
square
#903E9D #9D603E #4B9D3E #3E7B9D
split-complementary
#903E9D #7B9D3E #3E9D60
monochromatic
#401B45 #682D71 #903E9D #B05ABE #C586CF

Accessibility & contrast

On white

6.25
#903E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#903E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903E9D
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903E9D#FFFFFF#000000##FFFFFF
##903E9D1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5AA0
Deuteranopia (green-blind)
#49649A
Tritanopia (blue-blind)
#924C68
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #903e9d;
/* rgb */ color: rgb(144, 62, 157);
/* oklch */ color: oklch(51.1% 0.164 322.0);
Tailwind
colors: {
  custom: {
    50: '#b378ba',
    500: '#903e9d',
    950: '#000000',
  },
}
SCSS
$custom: #903e9d;
$custom-light: #b378ba;
$custom-dark: #000000;
JSON
{
  "hex": "#903e9d",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 291.789,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5113,
    "c": 0.16438,
    "h": 322
  },
  "luminance": 0.11809
}

Semantic roles & 50–950 ramp

primary
#903E9D
secondary
#85BA7D
accent
#D35566
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #903E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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