#903787#903787

#903787 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.1% C 0.155 H 331.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#903787
RGBrgb(144, 55, 135)
HSLhsl(306, 45%, 39%)
HSVhsv(306, 62%, 56%)
CMYKcmyk(0%, 61.8%, 6.2%, 43.5%)
CIE-LABlab(38.57, 47.81, -26.75)
CIE-LCHlch(38.57, 54.79, 330.77°)
OKLaboklab(49.05% 0.1366 -0.0732)
OKLCHoklch(49.05% 0.155 331.8)
XYZxyz(17.2409, 10.4122, 24.0187)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903787 #379040
analogous
#6D3790 #903787 #90375B
triadic
#903787 #879037 #378790
tetradic
#903787 #906D37 #379040 #375B90
square
#903787 #906D37 #379040 #375B90
split-complementary
#903787 #5B9037 #37906D
monochromatic
#371534 #64265D #903787 #BA4AAF #CB77C2

Accessibility & contrast

On white

6.81
#903787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #903787
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903787#FFFFFF#000000##FFFFFF
##9037871.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335389
Deuteranopia (green-blind)
#505F85
Tritanopia (blue-blind)
#963F5A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #903787;
/* rgb */ color: rgb(144, 55, 135);
/* oklch */ color: oklch(49.1% 0.155 331.8);
Tailwind
colors: {
  custom: {
    50: '#b374aa',
    500: '#903787',
    950: '#000000',
  },
}
SCSS
$custom: #903787;
$custom-light: #b374aa;
$custom-dark: #000000;
JSON
{
  "hex": "#903787",
  "rgb": {
    "r": 144,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 306.067,
    "s": 44.724,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49052,
    "c": 0.15504,
    "h": 331.8
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#903787
secondary
#6FB476
accent
#D46053
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #903787

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

Preview Lab → · Contrast checker → · Palette generator →

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