#901F8E#901F8E

#901F8E is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.191 H 328.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#901F8E
RGBrgb(144, 31, 142)
HSLhsl(301, 65%, 34%)
HSVhsv(301, 78%, 56%)
CMYKcmyk(0%, 78.5%, 1.4%, 43.5%)
CIE-LABlab(35.72, 58.08, -35.55)
CIE-LCHlch(35.72, 68.10, 328.53°)
OKLaboklab(47.12% 0.1631 -0.0985)
OKLCHoklch(47.12% 0.191 328.9)
XYZxyz(16.8739, 8.8636, 26.4080)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F8E #1F9021
analogous
#5A1F90 #901F8E #901F56
triadic
#901F8E #8E901F #1F8E90
tetradic
#901F8E #905A1F #1F9021 #1F5690
square
#901F8E #905A1F #1F9021 #1F5690
split-complementary
#901F8E #56901F #1F905A
monochromatic
#2B092B #5E145C #901F8E #C22AC0 #D950D7

Accessibility & contrast

On white

7.57
#901F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#901F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F8E
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F8E#FFFFFF#000000##FFFFFF
##901F8E1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054B91
Deuteranopia (green-blind)
#41598B
Tritanopia (blue-blind)
#953156
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #901f8e;
/* rgb */ color: rgb(144, 31, 142);
/* oklch */ color: oklch(47.1% 0.191 328.9);
Tailwind
colors: {
  custom: {
    50: '#b469af',
    500: '#901f8e',
    950: '#000000',
  },
}
SCSS
$custom: #901f8e;
$custom-light: #b469af;
$custom-dark: #000000;
JSON
{
  "hex": "#901f8e",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 301.062,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47115,
    "c": 0.19053,
    "h": 328.9
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#901F8E
secondary
#4EBC50
accent
#E84340
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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