#901F8D#901F8D

#901F8D is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.190 H 329.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#901F8D
RGBrgb(144, 31, 141)
HSLhsl(302, 65%, 34%)
HSVhsv(302, 78%, 56%)
CMYKcmyk(0%, 78.5%, 2.1%, 43.5%)
CIE-LABlab(35.66, 57.92, -35.03)
CIE-LCHlch(35.66, 67.69, 328.83°)
OKLaboklab(47.06% 0.1631 -0.0969)
OKLCHoklch(47.06% 0.19 329.3)
XYZxyz(16.7992, 8.8337, 26.0144)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F8D #1F9022
analogous
#5B1F90 #901F8D #901F55
triadic
#901F8D #8D901F #1F8D90
tetradic
#901F8D #905B1F #1F9022 #1F5590
square
#901F8D #905B1F #1F9022 #1F5590
split-complementary
#901F8D #55901F #1F905B
monochromatic
#2B092A #5E145C #901F8D #C22ABE #D950D6

Accessibility & contrast

On white

7.59
#901F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#901F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F8D
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F8D#FFFFFF#000000##FFFFFF
##901F8D1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084A90
Deuteranopia (green-blind)
#41598A
Tritanopia (blue-blind)
#953155
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #901f8d;
/* rgb */ color: rgb(144, 31, 141);
/* oklch */ color: oklch(47.1% 0.190 329.3);
Tailwind
colors: {
  custom: {
    50: '#b469af',
    500: '#901f8d',
    950: '#000000',
  },
}
SCSS
$custom: #901f8d;
$custom-light: #b469af;
$custom-dark: #000000;
JSON
{
  "hex": "#901f8d",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 301.593,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47055,
    "c": 0.18976,
    "h": 329.3
  },
  "luminance": 0.08832
}

Semantic roles & 50–950 ramp

primary
#901F8D
secondary
#4EBC51
accent
#E84540
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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