#903FA8#903FA8

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

Color values

HEX#903FA8
RGBrgb(144, 63, 168)
HSLhsl(286, 45%, 45%)
HSVhsv(286, 63%, 66%)
CMYKcmyk(14.3%, 62.5%, 0%, 34.1%)
CIE-LABlab(41.71, 50.36, -41.74)
CIE-LCHlch(41.71, 65.41, 320.35°)
OKLaboklab(51.91% 0.1286 -0.1167)
OKLCHoklch(51.91% 0.174 317.8)
XYZxyz(20.3460, 12.3123, 38.3430)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FA8 #57A83F
analogous
#5C3FA8 #903FA8 #A83F8B
triadic
#903FA8 #A8903F #3FA890
tetradic
#903FA8 #A85C3F #57A83F #3F8BA8
square
#903FA8 #A85C3F #57A83F #3F8BA8
split-complementary
#903FA8 #8BA83F #3FA85C
monochromatic
#441E4F #6A2E7B #903FA8 #AD61C4 #C48DD4

Accessibility & contrast

On white

6.07
#903FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #903FA8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FA8#FFFFFF#000000##FFFFFF
##903FA81.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205DAB
Deuteranopia (green-blind)
#4365A5
Tritanopia (blue-blind)
#8F516E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #903fa8;
/* rgb */ color: rgb(144, 63, 168);
/* oklch */ color: oklch(51.9% 0.174 317.8);
Tailwind
colors: {
  custom: {
    50: '#b379c2',
    500: '#903fa8',
    950: '#000000',
  },
}
SCSS
$custom: #903fa8;
$custom-light: #b379c2;
$custom-dark: #000000;
JSON
{
  "hex": "#903fa8",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 286.286,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5191,
    "c": 0.17366,
    "h": 317.8
  },
  "luminance": 0.12311
}

Semantic roles & 50–950 ramp

primary
#903FA8
secondary
#91BF84
accent
#D55370
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110912
muted
#807B81

Preview Lab

Preview with #903FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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