#901F7E#901F7E

#901F7E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.179 H 335.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#901F7E
RGBrgb(144, 31, 126)
HSLhsl(310, 65%, 34%)
HSVhsv(310, 78%, 56%)
CMYKcmyk(0%, 78.5%, 12.5%, 43.5%)
CIE-LABlab(34.84, 55.55, -27.03)
CIE-LCHlch(34.84, 61.78, 334.05°)
OKLaboklab(46.2% 0.1627 -0.0738)
OKLCHoklch(46.2% 0.179 335.6)
XYZxyz(15.7577, 8.4171, 20.5294)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F7E #1F9031
analogous
#6A1F90 #901F7E #901F45
triadic
#901F7E #7E901F #1F7E90
tetradic
#901F7E #906A1F #1F9031 #1F4590
square
#901F7E #906A1F #1F9031 #1F4590
split-complementary
#901F7E #45901F #1F906A
monochromatic
#2B0926 #5E1452 #901F7E #C22AAA #D950C3

Accessibility & contrast

On white

7.83
#901F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#901F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F7E
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F7E#FFFFFF#000000##FFFFFF
##901F7E1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204781
Deuteranopia (green-blind)
#49587B
Tritanopia (blue-blind)
#98284D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901f7e;
/* rgb */ color: rgb(144, 31, 126);
/* oklch */ color: oklch(46.2% 0.179 335.6);
Tailwind
colors: {
  custom: {
    50: '#b468a3',
    500: '#901f7e',
    950: '#000000',
  },
}
SCSS
$custom: #901f7e;
$custom-light: #b468a3;
$custom-dark: #000000;
JSON
{
  "hex": "#901f7e",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 309.558,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46197,
    "c": 0.17865,
    "h": 335.6
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#901F7E
secondary
#4EBC60
accent
#E85B40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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