#901783#901783

#901783 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.189 H 333.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#901783
RGBrgb(144, 23, 131)
HSLhsl(306, 72%, 33%)
HSVhsv(306, 84%, 56%)
CMYKcmyk(0%, 84%, 9%, 43.5%)
CIE-LABlab(34.36, 58.46, -30.90)
CIE-LCHlch(34.36, 66.13, 332.14°)
OKLaboklab(45.94% 0.1693 -0.0849)
OKLCHoklch(45.94% 0.189 333.3)
XYZxyz(15.9049, 8.1822, 22.2100)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901783 #179024
analogous
#601790 #901783 #901747
triadic
#901783 #839017 #178390
tetradic
#901783 #906017 #179024 #174790
square
#901783 #906017 #179024 #174790
split-complementary
#901783 #479017 #179060
monochromatic
#260623 #5B0F53 #901783 #C51FB3 #E141CF

Accessibility & contrast

On white

7.97
#901783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#901783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901783
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901783#FFFFFF#000000##FFFFFF
##9017831.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104686
Deuteranopia (green-blind)
#445780
Tritanopia (blue-blind)
#97264E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901783;
/* rgb */ color: rgb(144, 23, 131);
/* oklch */ color: oklch(45.9% 0.189 333.3);
Tailwind
colors: {
  custom: {
    50: '#b466a7',
    500: '#901783',
    950: '#000000',
  },
}
SCSS
$custom: #901783;
$custom-light: #b466a7;
$custom-dark: #000000;
JSON
{
  "hex": "#901783",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 306.446,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45943,
    "c": 0.18938,
    "h": 333.3
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#901783
secondary
#42C14F
accent
#EF4C39
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901783

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

Preview Lab → · Contrast checker → · Palette generator →

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