#903AA2#903AA2

#903AA2 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.9% C 0.175 H 320.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#903AA2
RGBrgb(144, 58, 162)
HSLhsl(290, 47%, 43%)
HSVhsv(290, 64%, 64%)
CMYKcmyk(11.1%, 64.2%, 0%, 36.5%)
CIE-LABlab(40.52, 51.47, -40.05)
CIE-LCHlch(40.52, 65.22, 322.11°)
OKLaboklab(50.93% 0.1347 -0.1118)
OKLCHoklch(50.93% 0.175 320.3)
XYZxyz(19.5355, 11.5650, 35.3787)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903AA2 #4CA23A
analogous
#5C3AA2 #903AA2 #A23A80
triadic
#903AA2 #A2903A #3AA290
tetradic
#903AA2 #A25C3A #4CA23A #3A80A2
square
#903AA2 #A25C3A #4CA23A #3A80A2
split-complementary
#903AA2 #80A23A #3AA25C
monochromatic
#401A48 #682A75 #903AA2 #B057C3 #C584D3

Accessibility & contrast

On white

6.34
#903AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#903AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903AA2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903AA2#FFFFFF#000000##FFFFFF
##903AA21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A5
Deuteranopia (green-blind)
#43639F
Tritanopia (blue-blind)
#914B69
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #903aa2;
/* rgb */ color: rgb(144, 58, 162);
/* oklch */ color: oklch(50.9% 0.175 320.3);
Tailwind
colors: {
  custom: {
    50: '#b376be',
    500: '#903aa2',
    950: '#000000',
  },
}
SCSS
$custom: #903aa2;
$custom-light: #b376be;
$custom-dark: #000000;
JSON
{
  "hex": "#903aa2",
  "rgb": {
    "r": 144,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 289.615,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50934,
    "c": 0.17503,
    "h": 320.3
  },
  "luminance": 0.11564
}

Semantic roles & 50–950 ramp

primary
#903AA2
secondary
#86BD7B
accent
#D75168
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #903AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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