#903797#903797

#903797 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.9% C 0.169 H 324.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#903797
RGBrgb(144, 55, 151)
HSLhsl(296, 47%, 40%)
HSVhsv(296, 64%, 59%)
CMYKcmyk(4.6%, 63.6%, 0%, 40.8%)
CIE-LABlab(39.41, 50.70, -35.19)
CIE-LCHlch(39.41, 61.72, 325.23°)
OKLaboklab(49.93% 0.1381 -0.0976)
OKLCHoklch(49.93% 0.169 324.7)
XYZxyz(18.4532, 10.8971, 30.4035)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903797 #3E9737
analogous
#603797 #903797 #97376E
triadic
#903797 #979037 #379790
tetradic
#903797 #976037 #3E9737 #376E97
square
#903797 #976037 #3E9737 #376E97
split-complementary
#903797 #6E9737 #379760
monochromatic
#3A163D #65276A #903797 #B64DBE #C87ACF

Accessibility & contrast

On white

6.61
#903797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#903797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903797
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903797#FFFFFF#000000##FFFFFF
##9037971.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#486194
Tritanopia (blue-blind)
#934562
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #903797;
/* rgb */ color: rgb(144, 55, 151);
/* oklch */ color: oklch(49.9% 0.169 324.7);
Tailwind
colors: {
  custom: {
    50: '#b374b6',
    500: '#903797',
    950: '#000000',
  },
}
SCSS
$custom: #903797;
$custom-light: #b374b6;
$custom-dark: #000000;
JSON
{
  "hex": "#903797",
  "rgb": {
    "r": 144,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 295.625,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4993,
    "c": 0.16907,
    "h": 324.7
  },
  "luminance": 0.10896
}

Semantic roles & 50–950 ramp

primary
#903797
secondary
#77B872
accent
#D6525B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #903797

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

Preview Lab → · Contrast checker → · Palette generator →

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