#903DAF#903DAF

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

Color values

HEX#903DAF
RGBrgb(144, 61, 175)
HSLhsl(284, 48%, 46%)
HSVhsv(284, 65%, 69%)
CMYKcmyk(17.7%, 65.1%, 0%, 31.4%)
CIE-LABlab(41.79, 52.74, -45.76)
CIE-LCHlch(41.79, 69.83, 319.05°)
OKLaboklab(52.1% 0.131 -0.1285)
OKLCHoklch(52.1% 0.183 315.5)
XYZxyz(20.9070, 12.3627, 41.8341)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903DAF #5CAF3D
analogous
#573DAF #903DAF #AF3D95
triadic
#903DAF #AF903D #3DAF90
tetradic
#903DAF #AF573D #5CAF3D #3D95AF
square
#903DAF #AF573D #5CAF3D #3D95AF
split-complementary
#903DAF #95AF3D #3DAF57
monochromatic
#451D54 #6B2D82 #903DAF #AC61C8 #C48FD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##903DAF#FFFFFF#000000##FFFFFF
##903DAF1.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)
#0C5EB2
Deuteranopia (green-blind)
#3C65AC
Tritanopia (blue-blind)
#8E5271
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #903daf;
/* rgb */ color: rgb(144, 61, 175);
/* oklch */ color: oklch(52.1% 0.183 315.5);
Tailwind
colors: {
  custom: {
    50: '#b478c7',
    500: '#903daf',
    950: '#000000',
  },
}
SCSS
$custom: #903daf;
$custom-light: #b478c7;
$custom-dark: #000000;
JSON
{
  "hex": "#903daf",
  "rgb": {
    "r": 144,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 283.684,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52101,
    "c": 0.18345,
    "h": 315.5
  },
  "luminance": 0.12362
}

Semantic roles & 50–950 ramp

primary
#903DAF
secondary
#96C385
accent
#D85075
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #903DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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