#901FA7#901FA7

#901FA7 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.210 H 319.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#901FA7
RGBrgb(144, 31, 167)
HSLhsl(290, 69%, 39%)
HSVhsv(290, 81%, 65%)
CMYKcmyk(13.8%, 81.4%, 0%, 34.5%)
CIE-LABlab(37.30, 62.44, -48.20)
CIE-LCHlch(37.30, 78.88, 322.33°)
OKLaboklab(48.74% 0.161 -0.1354)
OKLCHoklch(48.74% 0.21 319.9)
XYZxyz(18.9658, 9.7003, 37.4251)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901FA7 #36A71F
analogous
#4C1FA7 #901FA7 #A71F7A
triadic
#901FA7 #A7901F #1FA790
tetradic
#901FA7 #A74C1F #36A71F #1F7AA7
square
#901FA7 #A74C1F #36A71F #1F7AA7
split-complementary
#901FA7 #7AA71F #1FA74C
monochromatic
#370C40 #631573 #901FA7 #BB2BD8 #CB5FE1

Accessibility & contrast

On white

7.14
#901FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#901FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901FA7
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901FA7#FFFFFF#000000##FFFFFF
##901FA71.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#2D5BA4
Tritanopia (blue-blind)
#903E64
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #901fa7;
/* rgb */ color: rgb(144, 31, 167);
/* oklch */ color: oklch(48.7% 0.210 319.9);
Tailwind
colors: {
  custom: {
    50: '#b56ac2',
    500: '#901fa7',
    950: '#000000',
  },
}
SCSS
$custom: #901fa7;
$custom-light: #b56ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#901fa7",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 289.853,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48738,
    "c": 0.21035,
    "h": 319.9
  },
  "luminance": 0.09699
}

Semantic roles & 50–950 ramp

primary
#901FA7
secondary
#6EC65C
accent
#EC3C5A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #901FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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