#903BA2#903BA2

#903BA2 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.1% C 0.174 H 320.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#903BA2
RGBrgb(144, 59, 162)
HSLhsl(290, 47%, 43%)
HSVhsv(290, 64%, 64%)
CMYKcmyk(11.1%, 63.6%, 0%, 36.5%)
CIE-LABlab(40.68, 51.01, -39.79)
CIE-LCHlch(40.68, 64.70, 322.05°)
OKLaboklab(51.05% 0.1335 -0.111)
OKLCHoklch(51.05% 0.174 320.2)
XYZxyz(19.5864, 11.6668, 35.3956)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BA2 #4DA23B
analogous
#5D3BA2 #903BA2 #A23B80
triadic
#903BA2 #A2903B #3BA290
tetradic
#903BA2 #A25D3B #4DA23B #3B80A2
square
#903BA2 #A25D3B #4DA23B #3B80A2
split-complementary
#903BA2 #80A23B #3BA25D
monochromatic
#401A48 #682B75 #903BA2 #B058C2 #C585D3

Accessibility & contrast

On white

6.30
#903BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#903BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BA2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BA2#FFFFFF#000000##FFFFFF
##903BA21.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#44639F
Tritanopia (blue-blind)
#914C69
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #903ba2;
/* rgb */ color: rgb(144, 59, 162);
/* oklch */ color: oklch(51.1% 0.174 320.2);
Tailwind
colors: {
  custom: {
    50: '#b377be',
    500: '#903ba2',
    950: '#000000',
  },
}
SCSS
$custom: #903ba2;
$custom-light: #b377be;
$custom-dark: #000000;
JSON
{
  "hex": "#903ba2",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 289.515,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51054,
    "c": 0.1736,
    "h": 320.2
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

primary
#903BA2
secondary
#87BD7C
accent
#D65269
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #903BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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