#901C7E#901C7E

#901C7E is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.182 H 335.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#901C7E
RGBrgb(144, 28, 126)
HSLhsl(309, 67%, 34%)
HSVhsv(309, 81%, 56%)
CMYKcmyk(0%, 80.6%, 12.5%, 43.5%)
CIE-LABlab(34.53, 56.42, -27.51)
CIE-LCHlch(34.53, 62.77, 334.01°)
OKLaboklab(45.98% 0.1653 -0.0752)
OKLCHoklch(45.98% 0.182 335.5)
XYZxyz(15.6830, 8.2676, 20.5045)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901C7E #1C902E
analogous
#681C90 #901C7E #901C44
triadic
#901C7E #7E901C #1C7E90
tetradic
#901C7E #90681C #1C902E #1C4490
square
#901C7E #90681C #1C902E #1C4490
split-complementary
#901C7E #44901C #1C9068
monochromatic
#2A0824 #5D1251 #901C7E #C326AB #DC4AC5

Accessibility & contrast

On white

7.91
#901C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#901C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901C7E
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901C7E#FFFFFF#000000##FFFFFF
##901C7E1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4681
Deuteranopia (green-blind)
#48577B
Tritanopia (blue-blind)
#98264C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901c7e;
/* rgb */ color: rgb(144, 28, 126);
/* oklch */ color: oklch(46.0% 0.182 335.5);
Tailwind
colors: {
  custom: {
    50: '#b467a3',
    500: '#901c7e',
    950: '#000000',
  },
}
SCSS
$custom: #901c7e;
$custom-light: #b467a3;
$custom-dark: #000000;
JSON
{
  "hex": "#901c7e",
  "rgb": {
    "r": 144,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 309.31,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4598,
    "c": 0.18157,
    "h": 335.5
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#901C7E
secondary
#4ABE5C
accent
#EA583D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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