#901CBB#901CBB

#901CBB is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 50.0% C 0.229 H 314.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#901CBB
RGBrgb(144, 28, 187)
HSLhsl(284, 74%, 42%)
HSVhsv(284, 85%, 73%)
CMYKcmyk(23%, 85%, 0%, 26.7%)
CIE-LABlab(38.46, 66.97, -58.21)
CIE-LCHlch(38.46, 88.74, 319.00°)
OKLaboklab(50% 0.159 -0.1648)
OKLCHoklch(50% 0.229 314)
XYZxyz(20.8849, 10.3484, 47.9014)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901CBB #47BB1C
analogous
#411CBB #901CBB #BB1C96
triadic
#901CBB #BB901C #1CBB90
tetradic
#901CBB #BB411C #47BB1C #1C96BB
square
#901CBB #BB411C #47BB1C #1C96BB
split-complementary
#901CBB #96BB1C #1CBB41
monochromatic
#3E0C51 #671486 #901CBB #B234E1 #C669E9

Accessibility & contrast

On white

6.84
#901CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#901CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #901CBB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901CBB#FFFFFF#000000##FFFFFF
##901CBB1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#8C476F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #901cbb;
/* rgb */ color: rgb(144, 28, 187);
/* oklch */ color: oklch(50.0% 0.229 314.0);
Tailwind
colors: {
  custom: {
    50: '#b66ad0',
    500: '#901cbb',
    950: '#000000',
  },
}
SCSS
$custom: #901cbb;
$custom-light: #b66ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#901cbb",
  "rgb": {
    "r": 144,
    "g": 28,
    "b": 187
  },
  "hsl": {
    "h": 283.774,
    "s": 73.953,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50001,
    "c": 0.229,
    "h": 314
  },
  "luminance": 0.10348
}

Semantic roles & 50–950 ramp

primary
#901CBB
secondary
#81CE65
accent
#F13769
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120714
muted
#817A82

Preview Lab

Preview with #901CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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