#9A1E84#9A1E84

#9A1E84 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.189 H 336.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9A1E84
RGBrgb(154, 30, 132)
HSLhsl(311, 67%, 36%)
HSVhsv(311, 81%, 60%)
CMYKcmyk(0%, 80.5%, 14.3%, 39.6%)
CIE-LABlab(36.87, 59.02, -27.45)
CIE-LCHlch(36.87, 65.10, 335.06°)
OKLaboklab(48.1% 0.1739 -0.0748)
OKLCHoklch(48.1% 0.189 336.7)
XYZxyz(17.9559, 9.4662, 22.7068)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E84 #1E9A34
analogous
#721E9A #9A1E84 #9A1E46
triadic
#9A1E84 #849A1E #1E849A
tetradic
#9A1E84 #9A721E #1E9A34 #1E469A
square
#9A1E84 #9A721E #1E9A34 #1E469A
split-complementary
#9A1E84 #469A1E #1E9A72
monochromatic
#340A2C #671458 #9A1E84 #CD28B0 #DE55C5

Accessibility & contrast

On white

7.26
#9A1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9A1E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E84
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E84#FFFFFF#000000##FFFFFF
##9A1E841.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B87
Deuteranopia (green-blind)
#4F5D81
Tritanopia (blue-blind)
#A22850
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a1e84;
/* rgb */ color: rgb(154, 30, 132);
/* oklch */ color: oklch(48.1% 0.189 336.7);
Tailwind
colors: {
  custom: {
    50: '#bc6aa8',
    500: '#9a1e84',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e84;
$custom-light: #bc6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e84",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 310.645,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48095,
    "c": 0.18932,
    "h": 336.7
  },
  "luminance": 0.09465
}

Semantic roles & 50–950 ramp

primary
#9A1E84
secondary
#53C166
accent
#EA5C3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A1E84

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

Preview Lab → · Contrast checker → · Palette generator →

#9A1E84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva