#901F8C#901F8C

#901F8C is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.189 H 329.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#901F8C
RGBrgb(144, 31, 140)
HSLhsl(302, 65%, 34%)
HSVhsv(302, 78%, 56%)
CMYKcmyk(0%, 78.5%, 2.8%, 43.5%)
CIE-LABlab(35.60, 57.75, -34.51)
CIE-LCHlch(35.60, 67.28, 329.14°)
OKLaboklab(47% 0.1631 -0.0954)
OKLCHoklch(47% 0.189 329.7)
XYZxyz(16.7251, 8.8040, 25.6243)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F8C #1F9023
analogous
#5C1F90 #901F8C #901F54
triadic
#901F8C #8C901F #1F8C90
tetradic
#901F8C #905C1F #1F9023 #1F5490
square
#901F8C #905C1F #1F9023 #1F5490
split-complementary
#901F8C #54901F #1F905C
monochromatic
#2B092A #5E145B #901F8C #C22ABD #D950D4

Accessibility & contrast

On white

7.61
#901F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#901F8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F8C
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F8C#FFFFFF#000000##FFFFFF
##901F8C1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4A8F
Deuteranopia (green-blind)
#425989
Tritanopia (blue-blind)
#953055
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #901f8c;
/* rgb */ color: rgb(144, 31, 140);
/* oklch */ color: oklch(47.0% 0.189 329.7);
Tailwind
colors: {
  custom: {
    50: '#b469ae',
    500: '#901f8c',
    950: '#000000',
  },
}
SCSS
$custom: #901f8c;
$custom-light: #b469ae;
$custom-dark: #000000;
JSON
{
  "hex": "#901f8c",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 140
  },
  "hsl": {
    "h": 302.124,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46995,
    "c": 0.189,
    "h": 329.7
  },
  "luminance": 0.08803
}

Semantic roles & 50–950 ramp

primary
#901F8C
secondary
#4EBC52
accent
#E84640
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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