#901882#901882

#901882 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.188 H 333.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#901882
RGBrgb(144, 24, 130)
HSLhsl(307, 71%, 33%)
HSVhsv(307, 83%, 56%)
CMYKcmyk(0%, 83.3%, 9.7%, 43.5%)
CIE-LABlab(34.39, 58.07, -30.24)
CIE-LCHlch(34.39, 65.47, 332.49°)
OKLaboklab(45.95% 0.1685 -0.083)
OKLCHoklch(45.95% 0.188 333.8)
XYZxyz(15.8577, 8.1957, 21.8615)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901882 #189026
analogous
#621890 #901882 #901846
triadic
#901882 #829018 #188290
tetradic
#901882 #906218 #189026 #184690
square
#901882 #906218 #189026 #184690
split-complementary
#901882 #469018 #189062
monochromatic
#270723 #5C0F53 #901882 #C421B1 #E043CD

Accessibility & contrast

On white

7.96
#901882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#901882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901882
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901882#FFFFFF#000000##FFFFFF
##9018821.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134685
Deuteranopia (green-blind)
#45577F
Tritanopia (blue-blind)
#97264E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901882;
/* rgb */ color: rgb(144, 24, 130);
/* oklch */ color: oklch(45.9% 0.188 333.8);
Tailwind
colors: {
  custom: {
    50: '#b466a7',
    500: '#901882',
    950: '#000000',
  },
}
SCSS
$custom: #901882;
$custom-light: #b466a7;
$custom-dark: #000000;
JSON
{
  "hex": "#901882",
  "rgb": {
    "r": 144,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 307,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45945,
    "c": 0.18787,
    "h": 333.8
  },
  "luminance": 0.08194
}

Semantic roles & 50–950 ramp

primary
#901882
secondary
#43C052
accent
#EE4F3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901882

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

Preview Lab → · Contrast checker → · Palette generator →

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