#903AAA#903AAA

#903AAA is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.4% C 0.183 H 317.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#903AAA
RGBrgb(144, 58, 170)
HSLhsl(286, 49%, 45%)
HSVhsv(286, 66%, 67%)
CMYKcmyk(15.3%, 65.9%, 0%, 33.3%)
CIE-LABlab(40.99, 53.08, -44.07)
CIE-LCHlch(40.99, 68.99, 320.30°)
OKLaboklab(51.43% 0.1346 -0.1235)
OKLCHoklch(51.43% 0.183 317.5)
XYZxyz(20.2693, 11.8585, 39.2436)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903AAA #54AA3A
analogous
#583AAA #903AAA #AA3A8C
triadic
#903AAA #AA903A #3AAA90
tetradic
#903AAA #AA583A #54AA3A #3A8CAA
square
#903AAA #AA583A #54AA3A #3A8CAA
split-complementary
#903AAA #8CAA3A #3AAA58
monochromatic
#431B4F #692A7C #903AAA #AE5AC7 #C488D6

Accessibility & contrast

On white

6.23
#903AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#903AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903AAA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903AAA#FFFFFF#000000##FFFFFF
##903AAA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5BAD
Deuteranopia (green-blind)
#3D63A7
Tritanopia (blue-blind)
#8F4E6D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #903aaa;
/* rgb */ color: rgb(144, 58, 170);
/* oklch */ color: oklch(51.4% 0.183 317.5);
Tailwind
colors: {
  custom: {
    50: '#b476c4',
    500: '#903aaa',
    950: '#000000',
  },
}
SCSS
$custom: #903aaa;
$custom-light: #b476c4;
$custom-dark: #000000;
JSON
{
  "hex": "#903aaa",
  "rgb": {
    "r": 144,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 286.071,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51429,
    "c": 0.1827,
    "h": 317.5
  },
  "luminance": 0.11858
}

Semantic roles & 50–950 ramp

primary
#903AAA
secondary
#8EC17F
accent
#D94F6F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #903AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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