#901986#901986

#901986 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.190 H 332.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#901986
RGBrgb(144, 25, 134)
HSLhsl(305, 70%, 33%)
HSVhsv(305, 83%, 56%)
CMYKcmyk(0%, 82.6%, 6.9%, 43.5%)
CIE-LABlab(34.70, 58.43, -32.24)
CIE-LCHlch(34.70, 66.74, 331.12°)
OKLaboklab(46.24% 0.1679 -0.0888)
OKLCHoklch(46.24% 0.19 332.1)
XYZxyz(16.1524, 8.3472, 23.3101)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901986 #199023
analogous
#5E1990 #901986 #90194A
triadic
#901986 #869019 #198690
tetradic
#901986 #905E19 #199023 #194A90
square
#901986 #905E19 #199023 #194A90
split-complementary
#901986 #4A9019 #19905E
monochromatic
#280725 #5C1055 #901986 #C422B7 #DF45D2

Accessibility & contrast

On white

7.87
#901986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#901986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901986
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901986#FFFFFF#000000##FFFFFF
##9019861.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4789
Deuteranopia (green-blind)
#435783
Tritanopia (blue-blind)
#962950
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901986;
/* rgb */ color: rgb(144, 25, 134);
/* oklch */ color: oklch(46.2% 0.190 332.1);
Tailwind
colors: {
  custom: {
    50: '#b467a9',
    500: '#901986',
    950: '#000000',
  },
}
SCSS
$custom: #901986;
$custom-light: #b467a9;
$custom-dark: #000000;
JSON
{
  "hex": "#901986",
  "rgb": {
    "r": 144,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 305.042,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46237,
    "c": 0.18991,
    "h": 332.1
  },
  "luminance": 0.08346
}

Semantic roles & 50–950 ramp

primary
#901986
secondary
#45C04F
accent
#ED4A3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901986

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

Preview Lab → · Contrast checker → · Palette generator →

#901986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva