#901FB1#901FB1

#901FB1 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.219 H 316.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#901FB1
RGBrgb(144, 31, 177)
HSLhsl(286, 70%, 41%)
HSVhsv(286, 82%, 69%)
CMYKcmyk(18.6%, 82.5%, 0%, 30.6%)
CIE-LABlab(37.99, 64.30, -53.05)
CIE-LCHlch(37.99, 83.36, 320.47°)
OKLaboklab(49.45% 0.1593 -0.1496)
OKLCHoklch(49.45% 0.219 316.8)
XYZxyz(19.9262, 10.0845, 42.4833)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901FB1 #40B11F
analogous
#471FB1 #901FB1 #B11F89
triadic
#901FB1 #B1901F #1FB190
tetradic
#901FB1 #B1471F #40B11F #1F89B1
square
#901FB1 #B1471F #40B11F #1F89B1
split-complementary
#901FB1 #89B11F #1FB147
monochromatic
#3B0D49 #66167D #901FB1 #B532DB #C866E4

Accessibility & contrast

On white

6.96
#901FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#901FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #901FB1
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901FB1#FFFFFF#000000##FFFFFF
##901FB11.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#1F5CAE
Tritanopia (blue-blind)
#8E436A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #901fb1;
/* rgb */ color: rgb(144, 31, 177);
/* oklch */ color: oklch(49.4% 0.219 316.8);
Tailwind
colors: {
  custom: {
    50: '#b56bc9',
    500: '#901fb1',
    950: '#000000',
  },
}
SCSS
$custom: #901fb1;
$custom-light: #b56bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#901fb1",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 177
  },
  "hsl": {
    "h": 286.438,
    "s": 70.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49446,
    "c": 0.21853,
    "h": 316.8
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

primary
#901FB1
secondary
#7ACA62
accent
#ED3B63
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #901FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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