#901888#901888

#901888 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.192 H 331.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#901888
RGBrgb(144, 24, 136)
HSLhsl(304, 71%, 33%)
HSVhsv(304, 83%, 56%)
CMYKcmyk(0%, 83.3%, 5.6%, 43.5%)
CIE-LABlab(34.72, 58.99, -33.43)
CIE-LCHlch(34.72, 67.81, 330.46°)
OKLaboklab(46.29% 0.1686 -0.0923)
OKLCHoklch(46.29% 0.192 331.3)
XYZxyz(16.2722, 8.3615, 24.0447)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901888 #189020
analogous
#5C1890 #901888 #90184C
triadic
#901888 #889018 #188890
tetradic
#901888 #905C18 #189020 #184C90
square
#901888 #905C18 #189020 #184C90
split-complementary
#901888 #4C9018 #18905C
monochromatic
#270725 #5C0F56 #901888 #C421BA #E043D5

Accessibility & contrast

On white

7.86
#901888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901888
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901888#FFFFFF#000000##FFFFFF
##9018881.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05478B
Deuteranopia (green-blind)
#425785
Tritanopia (blue-blind)
#962A51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901888;
/* rgb */ color: rgb(144, 24, 136);
/* oklch */ color: oklch(46.3% 0.192 331.3);
Tailwind
colors: {
  custom: {
    50: '#b466ab',
    500: '#901888',
    950: '#000000',
  },
}
SCSS
$custom: #901888;
$custom-light: #b466ab;
$custom-dark: #000000;
JSON
{
  "hex": "#901888",
  "rgb": {
    "r": 144,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 304,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46294,
    "c": 0.19218,
    "h": 331.3
  },
  "luminance": 0.0836
}

Semantic roles & 50–950 ramp

primary
#901888
secondary
#43C04C
accent
#EE463A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901888

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

Preview Lab → · Contrast checker → · Palette generator →

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