#901FA8#901FA8

#901FA8 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.8% C 0.211 H 319.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#901FA8
RGBrgb(144, 31, 168)
HSLhsl(289, 69%, 39%)
HSVhsv(289, 82%, 66%)
CMYKcmyk(14.3%, 81.5%, 0%, 34.1%)
CIE-LABlab(37.37, 62.62, -48.69)
CIE-LCHlch(37.37, 79.33, 322.13°)
OKLaboklab(48.81% 0.1608 -0.1368)
OKLCHoklch(48.81% 0.211 319.6)
XYZxyz(19.0586, 9.7374, 37.9138)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901FA8 #37A81F
analogous
#4C1FA8 #901FA8 #A81F7C
triadic
#901FA8 #A8901F #1FA890
tetradic
#901FA8 #A84C1F #37A81F #1F7CA8
square
#901FA8 #A84C1F #37A81F #1F7CA8
split-complementary
#901FA8 #7CA81F #1FA84C
monochromatic
#370C41 #641574 #901FA8 #BA2CD8 #CB60E2

Accessibility & contrast

On white

7.13
#901FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#901FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901FA8
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901FA8#FFFFFF#000000##FFFFFF
##901FA81.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#2C5CA5
Tritanopia (blue-blind)
#903E65
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #901fa8;
/* rgb */ color: rgb(144, 31, 168);
/* oklch */ color: oklch(48.8% 0.211 319.6);
Tailwind
colors: {
  custom: {
    50: '#b56ac3',
    500: '#901fa8',
    950: '#000000',
  },
}
SCSS
$custom: #901fa8;
$custom-light: #b56ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#901fa8",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 289.489,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48807,
    "c": 0.21116,
    "h": 319.6
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#901FA8
secondary
#6FC65D
accent
#EC3C5B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #901FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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