#903786#903786

#903786 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.0% C 0.154 H 332.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#903786
RGBrgb(144, 55, 134)
HSLhsl(307, 45%, 39%)
HSVhsv(307, 62%, 56%)
CMYKcmyk(0%, 61.8%, 6.9%, 43.5%)
CIE-LABlab(38.52, 47.64, -26.22)
CIE-LCHlch(38.52, 54.38, 331.18°)
OKLaboklab(49% 0.1365 -0.0717)
OKLCHoklch(49% 0.154 332.3)
XYZxyz(17.1709, 10.3842, 23.6496)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903786 #379041
analogous
#6E3790 #903786 #90375A
triadic
#903786 #869037 #378690
tetradic
#903786 #906E37 #379041 #375A90
square
#903786 #906E37 #379041 #375A90
split-complementary
#903786 #5A9037 #37906E
monochromatic
#371534 #64265D #903786 #BA4AAD #CB77C1

Accessibility & contrast

On white

6.83
#903786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#903786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903786
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903786#FFFFFF#000000##FFFFFF
##9037861.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345388
Deuteranopia (green-blind)
#505F84
Tritanopia (blue-blind)
#963E59
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #903786;
/* rgb */ color: rgb(144, 55, 134);
/* oklch */ color: oklch(49.0% 0.154 332.3);
Tailwind
colors: {
  custom: {
    50: '#b374a9',
    500: '#903786',
    950: '#000000',
  },
}
SCSS
$custom: #903786;
$custom-light: #b374a9;
$custom-dark: #000000;
JSON
{
  "hex": "#903786",
  "rgb": {
    "r": 144,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 306.742,
    "s": 44.724,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49,
    "c": 0.15419,
    "h": 332.3
  },
  "luminance": 0.10383
}

Semantic roles & 50–950 ramp

primary
#903786
secondary
#6FB477
accent
#D46253
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #903786

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

Preview Lab → · Contrast checker → · Palette generator →

#903786 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva