#901982#901982

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

Color values

HEX#901982
RGBrgb(144, 25, 130)
HSLhsl(307, 70%, 33%)
HSVhsv(307, 83%, 56%)
CMYKcmyk(0%, 82.6%, 9.7%, 43.5%)
CIE-LABlab(34.47, 57.82, -30.10)
CIE-LCHlch(34.47, 65.19, 332.50°)
OKLaboklab(46.01% 0.1678 -0.0826)
OKLCHoklch(46.01% 0.187 333.8)
XYZxyz(15.8786, 8.2377, 21.8685)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901982 #199027
analogous
#621990 #901982 #901946
triadic
#901982 #829019 #198290
tetradic
#901982 #906219 #199027 #194690
square
#901982 #906219 #199027 #194690
split-complementary
#901982 #469019 #199062
monochromatic
#280724 #5C1053 #901982 #C422B1 #DF45CD

Accessibility & contrast

On white

7.93
#901982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#901982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901982
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901982#FFFFFF#000000##FFFFFF
##9019821.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #901982;
/* rgb */ color: rgb(144, 25, 130);
/* oklch */ color: oklch(46.0% 0.187 333.8);
Tailwind
colors: {
  custom: {
    50: '#b466a6',
    500: '#901982',
    950: '#000000',
  },
}
SCSS
$custom: #901982;
$custom-light: #b466a6;
$custom-dark: #000000;
JSON
{
  "hex": "#901982",
  "rgb": {
    "r": 144,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 307.059,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46006,
    "c": 0.18705,
    "h": 333.8
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#901982
secondary
#45C053
accent
#ED503B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901982

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

Preview Lab → · Contrast checker → · Palette generator →

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