#903FAC#903FAC

#903FAC is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.2% C 0.178 H 316.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#903FAC
RGBrgb(144, 63, 172)
HSLhsl(285, 46%, 46%)
HSVhsv(285, 63%, 67%)
CMYKcmyk(16.3%, 63.4%, 0%, 32.5%)
CIE-LABlab(41.94, 51.19, -43.74)
CIE-LCHlch(41.94, 67.33, 319.49°)
OKLaboklab(52.16% 0.1286 -0.1225)
OKLCHoklch(52.16% 0.178 316.4)
XYZxyz(20.7244, 12.4636, 40.3358)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FAC #5BAC3F
analogous
#593FAC #903FAC #AC3F91
triadic
#903FAC #AC903F #3FAC90
tetradic
#903FAC #AC593F #5BAC3F #3F91AC
square
#903FAC #AC593F #5BAC3F #3F91AC
split-complementary
#903FAC #91AC3F #3FAC59
monochromatic
#451E52 #6A2F7F #903FAC #AC63C6 #C48FD6

Accessibility & contrast

On white

6.01
#903FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#903FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903FAC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FAC#FFFFFF#000000##FFFFFF
##903FAC1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5EAF
Deuteranopia (green-blind)
#4065A9
Tritanopia (blue-blind)
#8F5270
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #903fac;
/* rgb */ color: rgb(144, 63, 172);
/* oklch */ color: oklch(52.2% 0.178 316.4);
Tailwind
colors: {
  custom: {
    50: '#b479c5',
    500: '#903fac',
    950: '#000000',
  },
}
SCSS
$custom: #903fac;
$custom-light: #b479c5;
$custom-dark: #000000;
JSON
{
  "hex": "#903fac",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 284.587,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52156,
    "c": 0.17764,
    "h": 316.4
  },
  "luminance": 0.12463
}

Semantic roles & 50–950 ramp

primary
#903FAC
secondary
#95C186
accent
#D65274
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #903FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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