#901789#901789

#901789 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.3% C 0.194 H 330.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#901789
RGBrgb(144, 23, 137)
HSLhsl(303, 72%, 33%)
HSVhsv(303, 84%, 56%)
CMYKcmyk(0%, 84%, 4.9%, 43.5%)
CIE-LABlab(34.70, 59.39, -34.09)
CIE-LCHlch(34.70, 68.48, 330.14°)
OKLaboklab(46.3% 0.1693 -0.0942)
OKLCHoklch(46.3% 0.194 330.9)
XYZxyz(16.3233, 8.3496, 24.4140)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901789 #17901E
analogous
#5A1790 #901789 #90174C
triadic
#901789 #899017 #178990
tetradic
#901789 #905A17 #17901E #174C90
square
#901789 #905A17 #17901E #174C90
split-complementary
#901789 #4C9017 #17905A
monochromatic
#260625 #5B0F57 #901789 #C51FBB #E141D7

Accessibility & contrast

On white

7.87
#901789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#901789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901789
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901789#FFFFFF#000000##FFFFFF
##9017891.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01478C
Deuteranopia (green-blind)
#415786
Tritanopia (blue-blind)
#962A51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901789;
/* rgb */ color: rgb(144, 23, 137);
/* oklch */ color: oklch(46.3% 0.194 330.9);
Tailwind
colors: {
  custom: {
    50: '#b466ac',
    500: '#901789',
    950: '#000000',
  },
}
SCSS
$custom: #901789;
$custom-light: #b466ac;
$custom-dark: #000000;
JSON
{
  "hex": "#901789",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 303.471,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46296,
    "c": 0.19368,
    "h": 330.9
  },
  "luminance": 0.08348
}

Semantic roles & 50–950 ramp

primary
#901789
secondary
#42C149
accent
#EF4339
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901789

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

Preview Lab → · Contrast checker → · Palette generator →

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