#901FA5#901FA5

#901FA5 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.6% C 0.209 H 320.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#901FA5
RGBrgb(144, 31, 165)
HSLhsl(291, 68%, 38%)
HSVhsv(291, 81%, 65%)
CMYKcmyk(12.7%, 81.2%, 0%, 35.3%)
CIE-LABlab(37.16, 62.08, -47.22)
CIE-LCHlch(37.16, 77.99, 322.74°)
OKLaboklab(48.6% 0.1612 -0.1325)
OKLCHoklch(48.6% 0.209 320.6)
XYZxyz(18.7823, 9.6269, 36.4589)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901FA5 #34A51F
analogous
#4D1FA5 #901FA5 #A51F77
triadic
#901FA5 #A5901F #1FA590
tetradic
#901FA5 #A54D1F #34A51F #1F77A5
square
#901FA5 #A54D1F #34A51F #1F77A5
split-complementary
#901FA5 #77A51F #1FA54D
monochromatic
#360C3E #631571 #901FA5 #BC2AD7 #CC5EE1

Accessibility & contrast

On white

7.18
#901FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#901FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901FA5
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901FA5#FFFFFF#000000##FFFFFF
##901FA51.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#2F5BA2
Tritanopia (blue-blind)
#913D63
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #901fa5;
/* rgb */ color: rgb(144, 31, 165);
/* oklch */ color: oklch(48.6% 0.209 320.6);
Tailwind
colors: {
  custom: {
    50: '#b56ac0',
    500: '#901fa5',
    950: '#000000',
  },
}
SCSS
$custom: #901fa5;
$custom-light: #b56ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#901fa5",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 290.597,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.486,
    "c": 0.20872,
    "h": 320.6
  },
  "luminance": 0.09626
}

Semantic roles & 50–950 ramp

primary
#901FA5
secondary
#6BC55B
accent
#EB3D58
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #901FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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