#901FAE#901FAE

#901FAE is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.216 H 317.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#901FAE
RGBrgb(144, 31, 174)
HSLhsl(287, 70%, 40%)
HSVhsv(287, 82%, 68%)
CMYKcmyk(17.2%, 82.2%, 0%, 31.8%)
CIE-LABlab(37.78, 63.73, -51.61)
CIE-LCHlch(37.78, 82.01, 321.00°)
OKLaboklab(49.23% 0.1598 -0.1454)
OKLCHoklch(49.23% 0.216 317.7)
XYZxyz(19.6305, 9.9662, 40.9258)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901FAE #3DAE1F
analogous
#491FAE #901FAE #AE1F84
triadic
#901FAE #AE901F #1FAE90
tetradic
#901FAE #AE491F #3DAE1F #1F84AE
square
#901FAE #AE491F #3DAE1F #1F84AE
split-complementary
#901FAE #84AE1F #1FAE49
monochromatic
#3A0C46 #65167A #901FAE #B630DA #C964E3

Accessibility & contrast

On white

7.02
#901FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#901FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901FAE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901FAE#FFFFFF#000000##FFFFFF
##901FAE1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#245CAB
Tritanopia (blue-blind)
#8F4168
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #901fae;
/* rgb */ color: rgb(144, 31, 174);
/* oklch */ color: oklch(49.2% 0.216 317.7);
Tailwind
colors: {
  custom: {
    50: '#b56bc7',
    500: '#901fae',
    950: '#000000',
  },
}
SCSS
$custom: #901fae;
$custom-light: #b56bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#901fae",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 287.413,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4923,
    "c": 0.21606,
    "h": 317.7
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#901FAE
secondary
#76C860
accent
#ED3B60
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #901FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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