#901FB4#901FB4

#901FB4 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.7% C 0.221 H 315.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#901FB4
RGBrgb(144, 31, 180)
HSLhsl(286, 71%, 41%)
HSVhsv(286, 83%, 71%)
CMYKcmyk(20%, 82.8%, 0%, 29.4%)
CIE-LABlab(38.21, 64.87, -54.48)
CIE-LCHlch(38.21, 84.71, 319.97°)
OKLaboklab(49.66% 0.1587 -0.1538)
OKLCHoklch(49.66% 0.221 315.9)
XYZxyz(20.2285, 10.2054, 44.0755)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901FB4 #43B41F
analogous
#451FB4 #901FB4 #B41F8E
triadic
#901FB4 #B4901F #1FB490
tetradic
#901FB4 #B4451F #43B41F #1F8EB4
square
#901FB4 #B4451F #43B41F #1F8EB4
split-complementary
#901FB4 #8EB41F #1FB445
monochromatic
#3C0D4C #661680 #901FB4 #B334DC #C768E5

Accessibility & contrast

On white

6.91
#901FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#901FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #901FB4
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901FB4#FFFFFF#000000##FFFFFF
##901FB41.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#1A5DB1
Tritanopia (blue-blind)
#8D446C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #901fb4;
/* rgb */ color: rgb(144, 31, 180);
/* oklch */ color: oklch(49.7% 0.221 315.9);
Tailwind
colors: {
  custom: {
    50: '#b56bcb',
    500: '#901fb4',
    950: '#000000',
  },
}
SCSS
$custom: #901fb4;
$custom-light: #b56bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#901fb4",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 285.503,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49664,
    "c": 0.221,
    "h": 315.9
  },
  "luminance": 0.10205
}

Semantic roles & 50–950 ramp

primary
#901FB4
secondary
#7DCB64
accent
#ED3A66
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #901FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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