#901F98#901F98

#901F98 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.198 H 325.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#901F98
RGBrgb(144, 31, 152)
HSLhsl(296, 66%, 36%)
HSVhsv(296, 80%, 60%)
CMYKcmyk(5.3%, 79.6%, 0%, 40.4%)
CIE-LABlab(36.32, 59.77, -40.71)
CIE-LCHlch(36.32, 72.32, 325.74°)
OKLaboklab(47.74% 0.1626 -0.1135)
OKLCHoklch(47.74% 0.198 325.1)
XYZxyz(17.6587, 9.1774, 30.5410)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F98 #27981F
analogous
#531F98 #901F98 #981F63
triadic
#901F98 #98901F #1F9890
tetradic
#901F98 #98531F #27981F #1F6398
square
#901F98 #98531F #27981F #1F6398
split-complementary
#901F98 #63981F #1F9853
monochromatic
#300A32 #601565 #901F98 #C029CB #D355DC

Accessibility & contrast

On white

7.41
#901F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#901F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F98
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F98#FFFFFF#000000##FFFFFF
##901F981.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#3A5A95
Tritanopia (blue-blind)
#93365C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #901f98;
/* rgb */ color: rgb(144, 31, 152);
/* oklch */ color: oklch(47.7% 0.198 325.1);
Tailwind
colors: {
  custom: {
    50: '#b469b7',
    500: '#901f98',
    950: '#000000',
  },
}
SCSS
$custom: #901f98;
$custom-light: #b469b7;
$custom-dark: #000000;
JSON
{
  "hex": "#901f98",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 296.033,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47738,
    "c": 0.19832,
    "h": 325.1
  },
  "luminance": 0.09176
}

Semantic roles & 50–950 ramp

primary
#901F98
secondary
#5AC053
accent
#E93F4A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #901F98

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

Preview Lab → · Contrast checker → · Palette generator →

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