#901F8A#901F8A

#901F8A is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.187 H 330.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#901F8A
RGBrgb(144, 31, 138)
HSLhsl(303, 65%, 34%)
HSVhsv(303, 78%, 56%)
CMYKcmyk(0%, 78.5%, 4.2%, 43.5%)
CIE-LABlab(35.49, 57.43, -33.45)
CIE-LCHlch(35.49, 66.46, 329.78°)
OKLaboklab(46.88% 0.1631 -0.0924)
OKLCHoklch(46.88% 0.187 330.5)
XYZxyz(16.5790, 8.7456, 24.8547)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F8A #1F9025
analogous
#5E1F90 #901F8A #901F52
triadic
#901F8A #8A901F #1F8A90
tetradic
#901F8A #905E1F #1F9025 #1F5290
square
#901F8A #905E1F #1F9025 #1F5290
split-complementary
#901F8A #52901F #1F905E
monochromatic
#2B0929 #5E145A #901F8A #C22ABA #D950D2

Accessibility & contrast

On white

7.64
#901F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#901F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F8A
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F8A#FFFFFF#000000##FFFFFF
##901F8A1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4A8D
Deuteranopia (green-blind)
#435987
Tritanopia (blue-blind)
#962F54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901f8a;
/* rgb */ color: rgb(144, 31, 138);
/* oklch */ color: oklch(46.9% 0.187 330.5);
Tailwind
colors: {
  custom: {
    50: '#b469ac',
    500: '#901f8a',
    950: '#000000',
  },
}
SCSS
$custom: #901f8a;
$custom-light: #b469ac;
$custom-dark: #000000;
JSON
{
  "hex": "#901f8a",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 303.186,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46876,
    "c": 0.18748,
    "h": 330.5
  },
  "luminance": 0.08744
}

Semantic roles & 50–950 ramp

primary
#901F8A
secondary
#4EBC54
accent
#E84940
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901F8A

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

Preview Lab → · Contrast checker → · Palette generator →

#901F8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva