#901F9A#901F9A

#901F9A is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.9% C 0.200 H 324.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#901F9A
RGBrgb(144, 31, 154)
HSLhsl(295, 66%, 36%)
HSVhsv(295, 80%, 60%)
CMYKcmyk(6.5%, 79.9%, 0%, 39.6%)
CIE-LABlab(36.45, 60.12, -41.72)
CIE-LCHlch(36.45, 73.18, 325.24°)
OKLaboklab(47.87% 0.1625 -0.1164)
OKLCHoklch(47.87% 0.2 324.4)
XYZxyz(17.8238, 9.2435, 31.4110)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F9A #299A1F
analogous
#531F9A #901F9A #9A1F67
triadic
#901F9A #9A901F #1F9A90
tetradic
#901F9A #9A531F #299A1F #1F679A
square
#901F9A #9A531F #299A1F #1F679A
split-complementary
#901F9A #679A1F #1F9A53
monochromatic
#310A34 #601567 #901F9A #C029CD #D256DD

Accessibility & contrast

On white

7.37
#901F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#901F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F9A
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F9A#FFFFFF#000000##FFFFFF
##901F9A1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#395A97
Tritanopia (blue-blind)
#93375D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #901f9a;
/* rgb */ color: rgb(144, 31, 154);
/* oklch */ color: oklch(47.9% 0.200 324.4);
Tailwind
colors: {
  custom: {
    50: '#b46ab8',
    500: '#901f9a',
    950: '#000000',
  },
}
SCSS
$custom: #901f9a;
$custom-light: #b46ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#901f9a",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 295.122,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47867,
    "c": 0.1999,
    "h": 324.4
  },
  "luminance": 0.09242
}

Semantic roles & 50–950 ramp

primary
#901F9A
secondary
#5DC154
accent
#E93E4C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #901F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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