#901EB4#901EB4

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

Color values

HEX#901EB4
RGBrgb(144, 30, 180)
HSLhsl(286, 71%, 41%)
HSVhsv(286, 83%, 71%)
CMYKcmyk(20%, 83.3%, 0%, 29.4%)
CIE-LABlab(38.12, 65.13, -54.63)
CIE-LCHlch(38.12, 85.01, 320.01°)
OKLaboklab(49.6% 0.1593 -0.1543)
OKLCHoklch(49.6% 0.222 315.9)
XYZxyz(20.2028, 10.1540, 44.0669)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901EB4 #42B41E
analogous
#451EB4 #901EB4 #B41E8D
triadic
#901EB4 #B4901E #1EB490
tetradic
#901EB4 #B4451E #42B41E #1E8DB4
square
#901EB4 #B4451E #42B41E #1E8DB4
split-complementary
#901EB4 #8DB41E #1EB445
monochromatic
#3C0D4B #661580 #901EB4 #B432DD #C767E6

Accessibility & contrast

On white

6.93
#901EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#901EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #901EB4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901EB4#FFFFFF#000000##FFFFFF
##901EB41.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#195DB1
Tritanopia (blue-blind)
#8D446C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #901eb4;
/* rgb */ color: rgb(144, 30, 180);
/* oklch */ color: oklch(49.6% 0.222 315.9);
Tailwind
colors: {
  custom: {
    50: '#b56acb',
    500: '#901eb4',
    950: '#000000',
  },
}
SCSS
$custom: #901eb4;
$custom-light: #b56acb;
$custom-dark: #000000;
JSON
{
  "hex": "#901eb4",
  "rgb": {
    "r": 144,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 285.6,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.496,
    "c": 0.22178,
    "h": 315.9
  },
  "luminance": 0.10153
}

Semantic roles & 50–950 ramp

primary
#901EB4
secondary
#7CCB63
accent
#EE3A65
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #901EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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