#901F8F#901F8F

#901F8F is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.191 H 328.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#901F8F
RGBrgb(144, 31, 143)
HSLhsl(301, 65%, 34%)
HSVhsv(301, 78%, 56%)
CMYKcmyk(0%, 78.5%, 0.7%, 43.5%)
CIE-LABlab(35.78, 58.25, -36.07)
CIE-LCHlch(35.78, 68.51, 328.23°)
OKLaboklab(47.18% 0.1631 -0.1)
OKLCHoklch(47.18% 0.191 328.5)
XYZxyz(16.9493, 8.8937, 26.8052)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F8F #1F9020
analogous
#591F90 #901F8F #901F57
triadic
#901F8F #8F901F #1F8F90
tetradic
#901F8F #90591F #1F9020 #1F5790
square
#901F8F #90591F #1F9020 #1F5790
split-complementary
#901F8F #57901F #1F9059
monochromatic
#2B092B #5E145D #901F8F #C22AC1 #D950D8

Accessibility & contrast

On white

7.56
#901F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#901F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F8F
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F8F#FFFFFF#000000##FFFFFF
##901F8F1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024B92
Deuteranopia (green-blind)
#40598C
Tritanopia (blue-blind)
#953257
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #901f8f;
/* rgb */ color: rgb(144, 31, 143);
/* oklch */ color: oklch(47.2% 0.191 328.5);
Tailwind
colors: {
  custom: {
    50: '#b469b0',
    500: '#901f8f',
    950: '#000000',
  },
}
SCSS
$custom: #901f8f;
$custom-light: #b469b0;
$custom-dark: #000000;
JSON
{
  "hex": "#901f8f",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 300.531,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47176,
    "c": 0.1913,
    "h": 328.5
  },
  "luminance": 0.08892
}

Semantic roles & 50–950 ramp

primary
#901F8F
secondary
#4EBC4F
accent
#E84240
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #901F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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