#901FA1#901FA1

#901FA1 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.3% C 0.205 H 321.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#901FA1
RGBrgb(144, 31, 161)
HSLhsl(292, 68%, 38%)
HSVhsv(292, 81%, 63%)
CMYKcmyk(10.6%, 80.7%, 0%, 36.9%)
CIE-LABlab(36.90, 61.35, -45.24)
CIE-LCHlch(36.90, 76.23, 323.60°)
OKLaboklab(48.33% 0.1618 -0.1267)
OKLCHoklch(48.33% 0.205 321.9)
XYZxyz(18.4239, 9.4836, 34.5714)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901FA1 #30A11F
analogous
#4F1FA1 #901FA1 #A11F71
triadic
#901FA1 #A1901F #1FA190
tetradic
#901FA1 #A14F1F #30A11F #1F71A1
square
#901FA1 #A14F1F #30A11F #1F71A1
split-complementary
#901FA1 #71A11F #1FA14F
monochromatic
#340B3A #62156E #901FA1 #BE29D4 #CE5BDF

Accessibility & contrast

On white

7.25
#901FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#901FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901FA1
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901FA1#FFFFFF#000000##FFFFFF
##901FA11.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#335B9E
Tritanopia (blue-blind)
#923B61
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #901fa1;
/* rgb */ color: rgb(144, 31, 161);
/* oklch */ color: oklch(48.3% 0.205 321.9);
Tailwind
colors: {
  custom: {
    50: '#b56abd',
    500: '#901fa1',
    950: '#000000',
  },
}
SCSS
$custom: #901fa1;
$custom-light: #b56abd;
$custom-dark: #000000;
JSON
{
  "hex": "#901fa1",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 292.154,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48329,
    "c": 0.20549,
    "h": 321.9
  },
  "luminance": 0.09482
}

Semantic roles & 50–950 ramp

primary
#901FA1
secondary
#66C458
accent
#EB3D54
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #901FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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