#903EAC#903EAC

#903EAC is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.0% C 0.179 H 316.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#903EAC
RGBrgb(144, 62, 172)
HSLhsl(285, 47%, 46%)
HSVhsv(285, 64%, 67%)
CMYKcmyk(16.3%, 64%, 0%, 32.5%)
CIE-LABlab(41.77, 51.66, -44.01)
CIE-LCHlch(41.77, 67.86, 319.57°)
OKLaboklab(52.03% 0.1298 -0.1233)
OKLCHoklch(52.03% 0.179 316.5)
XYZxyz(20.6695, 12.3539, 40.3175)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903EAC #5AAC3E
analogous
#593EAC #903EAC #AC3E91
triadic
#903EAC #AC903E #3EAC90
tetradic
#903EAC #AC593E #5AAC3E #3E91AC
square
#903EAC #AC593E #5AAC3E #3E91AC
split-complementary
#903EAC #91AC3E #3EAC59
monochromatic
#451E52 #6A2E7F #903EAC #AC61C6 #C48ED6

Accessibility & contrast

On white

6.05
#903EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#903EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903EAC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903EAC#FFFFFF#000000##FFFFFF
##903EAC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175EAF
Deuteranopia (green-blind)
#3F65A9
Tritanopia (blue-blind)
#8F526F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #903eac;
/* rgb */ color: rgb(144, 62, 172);
/* oklch */ color: oklch(52.0% 0.179 316.5);
Tailwind
colors: {
  custom: {
    50: '#b479c5',
    500: '#903eac',
    950: '#000000',
  },
}
SCSS
$custom: #903eac;
$custom-light: #b479c5;
$custom-dark: #000000;
JSON
{
  "hex": "#903eac",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 284.727,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52033,
    "c": 0.17907,
    "h": 316.5
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#903EAC
secondary
#94C185
accent
#D75173
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #903EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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