#903EA6#903EA6

#903EA6 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.7% C 0.173 H 318.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#903EA6
RGBrgb(144, 62, 166)
HSLhsl(287, 46%, 45%)
HSVhsv(287, 63%, 65%)
CMYKcmyk(13.3%, 62.7%, 0%, 34.9%)
CIE-LABlab(41.42, 50.42, -41.01)
CIE-LCHlch(41.42, 64.99, 320.88°)
OKLaboklab(51.66% 0.1298 -0.1146)
OKLCHoklch(51.66% 0.173 318.6)
XYZxyz(20.1062, 12.1286, 37.3509)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903EA6 #54A63E
analogous
#5C3EA6 #903EA6 #A63E88
triadic
#903EA6 #A6903E #3EA690
tetradic
#903EA6 #A65C3E #54A63E #3E88A6
square
#903EA6 #A65C3E #54A63E #3E88A6
split-complementary
#903EA6 #88A63E #3EA65C
monochromatic
#431D4D #692D79 #903EA6 #AE5EC3 #C48BD4

Accessibility & contrast

On white

6.13
#903EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#903EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903EA6
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903EA6#FFFFFF#000000##FFFFFF
##903EA61.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215CA9
Deuteranopia (green-blind)
#4464A3
Tritanopia (blue-blind)
#90506C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #903ea6;
/* rgb */ color: rgb(144, 62, 166);
/* oklch */ color: oklch(51.7% 0.173 318.6);
Tailwind
colors: {
  custom: {
    50: '#b379c1',
    500: '#903ea6',
    950: '#000000',
  },
}
SCSS
$custom: #903ea6;
$custom-light: #b379c1;
$custom-dark: #000000;
JSON
{
  "hex": "#903ea6",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 287.308,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51663,
    "c": 0.17314,
    "h": 318.6
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#903EA6
secondary
#8EBE82
accent
#D5536E
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #903EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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