#901C8E#901C8E

#901C8E is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.193 H 328.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#901C8E
RGBrgb(144, 28, 142)
HSLhsl(301, 67%, 34%)
HSVhsv(301, 81%, 56%)
CMYKcmyk(0%, 80.6%, 1.4%, 43.5%)
CIE-LABlab(35.43, 58.93, -36.02)
CIE-LCHlch(35.43, 69.06, 328.57°)
OKLaboklab(46.91% 0.1655 -0.0998)
OKLCHoklch(46.91% 0.193 328.9)
XYZxyz(16.7992, 8.7141, 26.3831)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901C8E #1C901E
analogous
#581C90 #901C8E #901C54
triadic
#901C8E #8E901C #1C8E90
tetradic
#901C8E #90581C #1C901E #1C5490
square
#901C8E #90581C #1C901E #1C5490
split-complementary
#901C8E #54901C #1C9058
monochromatic
#2A0829 #5D125B #901C8E #C326C1 #DC4AD9

Accessibility & contrast

On white

7.66
#901C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#901C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901C8E
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901C8E#FFFFFF#000000##FFFFFF
##901C8E1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#40598B
Tritanopia (blue-blind)
#952F55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901c8e;
/* rgb */ color: rgb(144, 28, 142);
/* oklch */ color: oklch(46.9% 0.193 328.9);
Tailwind
colors: {
  custom: {
    50: '#b468af',
    500: '#901c8e',
    950: '#000000',
  },
}
SCSS
$custom: #901c8e;
$custom-light: #b468af;
$custom-dark: #000000;
JSON
{
  "hex": "#901c8e",
  "rgb": {
    "r": 144,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 301.034,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46907,
    "c": 0.19327,
    "h": 328.9
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#901C8E
secondary
#4ABE4C
accent
#EA403D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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