#901F9C#901F9C

#901F9C is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.0% C 0.201 H 323.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#901F9C
RGBrgb(144, 31, 156)
HSLhsl(294, 67%, 37%)
HSVhsv(294, 80%, 61%)
CMYKcmyk(7.7%, 80.1%, 0%, 38.8%)
CIE-LABlab(36.58, 60.47, -42.73)
CIE-LCHlch(36.58, 74.04, 324.75°)
OKLaboklab(48% 0.1623 -0.1194)
OKLCHoklch(48% 0.201 323.7)
XYZxyz(17.9918, 9.3107, 32.2955)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F9C #2B9C1F
analogous
#521F9C #901F9C #9C1F6A
triadic
#901F9C #9C901F #1F9C90
tetradic
#901F9C #9C521F #2B9C1F #1F6A9C
square
#901F9C #9C521F #2B9C1F #1F6A9C
split-complementary
#901F9C #6A9C1F #1F9C52
monochromatic
#320B36 #611569 #901F9C #BF29CF #D158DE

Accessibility & contrast

On white

7.34
#901F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#901F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F9C
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F9C#FFFFFF#000000##FFFFFF
##901F9C1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#375A99
Tritanopia (blue-blind)
#93385E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #901f9c;
/* rgb */ color: rgb(144, 31, 156);
/* oklch */ color: oklch(48.0% 0.201 323.7);
Tailwind
colors: {
  custom: {
    50: '#b46aba',
    500: '#901f9c',
    950: '#000000',
  },
}
SCSS
$custom: #901f9c;
$custom-light: #b46aba;
$custom-dark: #000000;
JSON
{
  "hex": "#901f9c",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 294.24,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47997,
    "c": 0.20149,
    "h": 323.7
  },
  "luminance": 0.0931
}

Semantic roles & 50–950 ramp

primary
#901F9C
secondary
#60C155
accent
#EA3E4F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #901F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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