#901F9F#901F9F

#901F9F is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.2% C 0.204 H 322.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#901F9F
RGBrgb(144, 31, 159)
HSLhsl(293, 67%, 37%)
HSVhsv(293, 81%, 62%)
CMYKcmyk(9.4%, 80.5%, 0%, 37.6%)
CIE-LABlab(36.77, 61.00, -44.24)
CIE-LCHlch(36.77, 75.35, 324.05°)
OKLaboklab(48.2% 0.162 -0.1238)
OKLCHoklch(48.2% 0.204 322.6)
XYZxyz(18.2490, 9.4136, 33.6500)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F9F #2E9F1F
analogous
#501F9F #901F9F #9F1F6E
triadic
#901F9F #9F901F #1F9F90
tetradic
#901F9F #9F501F #2E9F1F #1F6E9F
square
#901F9F #9F501F #2E9F1F #1F6E9F
split-complementary
#901F9F #6E9F1F #1F9F50
monochromatic
#330B39 #62156C #901F9F #BE29D2 #CF5ADF

Accessibility & contrast

On white

7.29
#901F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#901F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F9F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F9F#FFFFFF#000000##FFFFFF
##901F9F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#355B9C
Tritanopia (blue-blind)
#923A60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #901f9f;
/* rgb */ color: rgb(144, 31, 159);
/* oklch */ color: oklch(48.2% 0.204 322.6);
Tailwind
colors: {
  custom: {
    50: '#b56abc',
    500: '#901f9f',
    950: '#000000',
  },
}
SCSS
$custom: #901f9f;
$custom-light: #b56abc;
$custom-dark: #000000;
JSON
{
  "hex": "#901f9f",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 292.969,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48195,
    "c": 0.20389,
    "h": 322.6
  },
  "luminance": 0.09412
}

Semantic roles & 50–950 ramp

primary
#901F9F
secondary
#64C357
accent
#EA3E52
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #901F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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