#901782#901782

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

Color values

HEX#901782
RGBrgb(144, 23, 130)
HSLhsl(307, 72%, 33%)
HSVhsv(307, 84%, 56%)
CMYKcmyk(0%, 84%, 9.7%, 43.5%)
CIE-LABlab(34.30, 58.31, -30.37)
CIE-LCHlch(34.30, 65.75, 332.49°)
OKLaboklab(45.89% 0.1692 -0.0834)
OKLCHoklch(45.89% 0.189 333.8)
XYZxyz(15.8374, 8.1552, 21.8548)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901782 #179025
analogous
#611790 #901782 #901746
triadic
#901782 #829017 #178290
tetradic
#901782 #906117 #179025 #174690
square
#901782 #906117 #179025 #174690
split-complementary
#901782 #469017 #179061
monochromatic
#260623 #5B0F52 #901782 #C51FB2 #E141CE

Accessibility & contrast

On white

7.98
#901782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#901782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901782
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901782#FFFFFF#000000##FFFFFF
##9017821.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114685
Deuteranopia (green-blind)
#45577F
Tritanopia (blue-blind)
#97264D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901782;
/* rgb */ color: rgb(144, 23, 130);
/* oklch */ color: oklch(45.9% 0.189 333.8);
Tailwind
colors: {
  custom: {
    50: '#b466a7',
    500: '#901782',
    950: '#000000',
  },
}
SCSS
$custom: #901782;
$custom-light: #b466a7;
$custom-dark: #000000;
JSON
{
  "hex": "#901782",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 306.942,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45886,
    "c": 0.18867,
    "h": 333.8
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#901782
secondary
#42C150
accent
#EF4E39
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901782

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

Preview Lab → · Contrast checker → · Palette generator →

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