#901EBC#901EBC

#901EBC is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.2% C 0.228 H 313.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#901EBC
RGBrgb(144, 30, 188)
HSLhsl(283, 72%, 43%)
HSVhsv(283, 84%, 74%)
CMYKcmyk(23.4%, 84%, 0%, 26.3%)
CIE-LABlab(38.71, 66.66, -58.40)
CIE-LCHlch(38.71, 88.63, 318.78°)
OKLaboklab(50.2% 0.1575 -0.1654)
OKLCHoklch(50.2% 0.228 313.6)
XYZxyz(21.0414, 10.4894, 48.4835)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901EBC #4ABC1E
analogous
#411EBC #901EBC #BC1E99
triadic
#901EBC #BC901E #1EBC90
tetradic
#901EBC #BC411E #4ABC1E #1E99BC
square
#901EBC #BC411E #4ABC1E #1E99BC
split-complementary
#901EBC #99BC1E #1EBC41
monochromatic
#3F0D52 #681687 #901EBC #B138DF #C56DE8

Accessibility & contrast

On white

6.78
#901EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#901EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #901EBC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901EBC#FFFFFF#000000##FFFFFF
##901EBC1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#8B4870
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #901ebc;
/* rgb */ color: rgb(144, 30, 188);
/* oklch */ color: oklch(50.2% 0.228 313.6);
Tailwind
colors: {
  custom: {
    50: '#b66bd1',
    500: '#901ebc',
    950: '#000000',
  },
}
SCSS
$custom: #901ebc;
$custom-light: #b66bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#901ebc",
  "rgb": {
    "r": 144,
    "g": 30,
    "b": 188
  },
  "hsl": {
    "h": 283.291,
    "s": 72.477,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50196,
    "c": 0.22839,
    "h": 313.6
  },
  "luminance": 0.10489
}

Semantic roles & 50–950 ramp

primary
#901EBC
secondary
#84CE68
accent
#EF396B
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #901EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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