#901FA6#901FA6

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

Color values

HEX#901FA6
RGBrgb(144, 31, 166)
HSLhsl(290, 69%, 39%)
HSVhsv(290, 81%, 65%)
CMYKcmyk(13.3%, 81.3%, 0%, 34.9%)
CIE-LABlab(37.23, 62.26, -47.71)
CIE-LCHlch(37.23, 78.44, 322.54°)
OKLaboklab(48.67% 0.1611 -0.134)
OKLCHoklch(48.67% 0.21 320.3)
XYZxyz(18.8737, 9.6635, 36.9401)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901FA6 #35A61F
analogous
#4C1FA6 #901FA6 #A61F78
triadic
#901FA6 #A6901F #1FA690
tetradic
#901FA6 #A64C1F #35A61F #1F78A6
square
#901FA6 #A64C1F #35A61F #1F78A6
split-complementary
#901FA6 #78A61F #1FA64C
monochromatic
#370C3F #631572 #901FA6 #BB2BD7 #CC5EE1

Accessibility & contrast

On white

7.16
#901FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901FA6
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901FA6#FFFFFF#000000##FFFFFF
##901FA61.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#2E5BA3
Tritanopia (blue-blind)
#903D64
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #901fa6;
/* rgb */ color: rgb(144, 31, 166);
/* oklch */ color: oklch(48.7% 0.210 320.3);
Tailwind
colors: {
  custom: {
    50: '#b56ac1',
    500: '#901fa6',
    950: '#000000',
  },
}
SCSS
$custom: #901fa6;
$custom-light: #b56ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#901fa6",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 290.222,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48669,
    "c": 0.20953,
    "h": 320.3
  },
  "luminance": 0.09662
}

Semantic roles & 50–950 ramp

primary
#901FA6
secondary
#6DC55B
accent
#EB3C59
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #901FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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