#901785#901785

#901785 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.1% C 0.191 H 332.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#901785
RGBrgb(144, 23, 133)
HSLhsl(305, 72%, 33%)
HSVhsv(305, 84%, 56%)
CMYKcmyk(0%, 84%, 7.6%, 43.5%)
CIE-LABlab(34.47, 58.77, -31.97)
CIE-LCHlch(34.47, 66.90, 331.45°)
OKLaboklab(46.06% 0.1693 -0.088)
OKLCHoklch(46.06% 0.191 332.5)
XYZxyz(16.0417, 8.2369, 22.9308)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901785 #179022
analogous
#5F1790 #901785 #901748
triadic
#901785 #859017 #178590
tetradic
#901785 #905F17 #179022 #174890
square
#901785 #905F17 #179022 #174890
split-complementary
#901785 #489017 #17905F
monochromatic
#260624 #5B0F54 #901785 #C51FB6 #E141D2

Accessibility & contrast

On white

7.93
#901785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#901785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901785
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901785#FFFFFF#000000##FFFFFF
##9017851.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4688
Deuteranopia (green-blind)
#435782
Tritanopia (blue-blind)
#97274F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901785;
/* rgb */ color: rgb(144, 23, 133);
/* oklch */ color: oklch(46.1% 0.191 332.5);
Tailwind
colors: {
  custom: {
    50: '#b466a9',
    500: '#901785',
    950: '#000000',
  },
}
SCSS
$custom: #901785;
$custom-light: #b466a9;
$custom-dark: #000000;
JSON
{
  "hex": "#901785",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 305.455,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46059,
    "c": 0.1908,
    "h": 332.5
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#901785
secondary
#42C14D
accent
#EF4939
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901785

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

Preview Lab → · Contrast checker → · Palette generator →

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