#901F81#901F81

#901F81 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.181 H 334.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#901F81
RGBrgb(144, 31, 129)
HSLhsl(308, 65%, 34%)
HSVhsv(308, 78%, 56%)
CMYKcmyk(0%, 78.5%, 10.4%, 43.5%)
CIE-LABlab(34.99, 56.01, -28.66)
CIE-LCHlch(34.99, 62.91, 332.90°)
OKLaboklab(46.36% 0.1629 -0.0785)
OKLCHoklch(46.36% 0.181 334.3)
XYZxyz(15.9542, 8.4957, 21.5642)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F81 #1F902E
analogous
#671F90 #901F81 #901F48
triadic
#901F81 #81901F #1F8190
tetradic
#901F81 #90671F #1F902E #1F4890
square
#901F81 #90671F #1F902E #1F4890
split-complementary
#901F81 #48901F #1F9067
monochromatic
#2B0927 #5E1454 #901F81 #C22AAE #D950C7

Accessibility & contrast

On white

7.78
#901F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#901F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F81
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F81#FFFFFF#000000##FFFFFF
##901F811.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4884
Deuteranopia (green-blind)
#48587E
Tritanopia (blue-blind)
#972A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901f81;
/* rgb */ color: rgb(144, 31, 129);
/* oklch */ color: oklch(46.4% 0.181 334.3);
Tailwind
colors: {
  custom: {
    50: '#b468a6',
    500: '#901f81',
    950: '#000000',
  },
}
SCSS
$custom: #901f81;
$custom-light: #b468a6;
$custom-dark: #000000;
JSON
{
  "hex": "#901f81",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 307.965,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46362,
    "c": 0.18081,
    "h": 334.3
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#901F81
secondary
#4EBC5D
accent
#E85640
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901F81

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

Preview Lab → · Contrast checker → · Palette generator →

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