#901F82#901F82

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

Color values

HEX#901F82
RGBrgb(144, 31, 130)
HSLhsl(307, 65%, 34%)
HSVhsv(307, 78%, 56%)
CMYKcmyk(0%, 78.5%, 9.7%, 43.5%)
CIE-LABlab(35.05, 56.16, -29.20)
CIE-LCHlch(35.05, 63.30, 332.53°)
OKLaboklab(46.42% 0.1629 -0.0801)
OKLCHoklch(46.42% 0.182 333.8)
XYZxyz(16.0210, 8.5224, 21.9160)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F82 #1F902D
analogous
#661F90 #901F82 #901F49
triadic
#901F82 #82901F #1F8290
tetradic
#901F82 #90661F #1F902D #1F4990
square
#901F82 #90661F #1F902D #1F4990
split-complementary
#901F82 #49901F #1F9066
monochromatic
#2B0927 #5E1455 #901F82 #C22AAF #D950C8

Accessibility & contrast

On white

7.77
#901F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901F82
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F82#FFFFFF#000000##FFFFFF
##901F821.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4885
Deuteranopia (green-blind)
#47587F
Tritanopia (blue-blind)
#972B4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901f82;
/* rgb */ color: rgb(144, 31, 130);
/* oklch */ color: oklch(46.4% 0.182 333.8);
Tailwind
colors: {
  custom: {
    50: '#b468a6',
    500: '#901f82',
    950: '#000000',
  },
}
SCSS
$custom: #901f82;
$custom-light: #b468a6;
$custom-dark: #000000;
JSON
{
  "hex": "#901f82",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 307.434,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46417,
    "c": 0.18153,
    "h": 333.8
  },
  "luminance": 0.08521
}

Semantic roles & 50–950 ramp

primary
#901F82
secondary
#4EBC5C
accent
#E85540
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901F82

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

Preview Lab → · Contrast checker → · Palette generator →

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