#901887#901887

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

Color values

HEX#901887
RGBrgb(144, 24, 135)
HSLhsl(305, 71%, 33%)
HSVhsv(305, 83%, 56%)
CMYKcmyk(0%, 83.3%, 6.2%, 43.5%)
CIE-LABlab(34.67, 58.84, -32.90)
CIE-LCHlch(34.67, 67.41, 330.79°)
OKLaboklab(46.24% 0.1686 -0.0907)
OKLCHoklch(46.24% 0.191 331.7)
XYZxyz(16.2014, 8.3332, 23.6722)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901887 #189021
analogous
#5D1890 #901887 #90184B
triadic
#901887 #879018 #188790
tetradic
#901887 #905D18 #189021 #184B90
square
#901887 #905D18 #189021 #184B90
split-complementary
#901887 #4B9018 #18905D
monochromatic
#270725 #5C0F56 #901887 #C421B8 #E043D4

Accessibility & contrast

On white

7.88
#901887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901887
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901887#FFFFFF#000000##FFFFFF
##9018871.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08478A
Deuteranopia (green-blind)
#425784
Tritanopia (blue-blind)
#962951
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901887;
/* rgb */ color: rgb(144, 24, 135);
/* oklch */ color: oklch(46.2% 0.191 331.7);
Tailwind
colors: {
  custom: {
    50: '#b466aa',
    500: '#901887',
    950: '#000000',
  },
}
SCSS
$custom: #901887;
$custom-light: #b466aa;
$custom-dark: #000000;
JSON
{
  "hex": "#901887",
  "rgb": {
    "r": 144,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 304.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46235,
    "c": 0.19145,
    "h": 331.7
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#901887
secondary
#43C04D
accent
#EE473A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901887

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

Preview Lab → · Contrast checker → · Palette generator →

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