#9C1E82#9C1E82

#9C1E82 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.189 H 338.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9C1E82
RGBrgb(156, 30, 130)
HSLhsl(312, 68%, 36%)
HSVhsv(312, 81%, 61%)
CMYKcmyk(0%, 80.8%, 16.7%, 38.8%)
CIE-LABlab(37.13, 59.19, -25.77)
CIE-LCHlch(37.13, 64.56, 336.47°)
OKLaboklab(48.32% 0.1757 -0.07)
OKLCHoklch(48.32% 0.189 338.3)
XYZxyz(18.2043, 9.6100, 22.0110)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1E82 #1E9C38
analogous
#771E9C #9C1E82 #9C1E43
triadic
#9C1E82 #829C1E #1E829C
tetradic
#9C1E82 #9C771E #1E9C38 #1E439C
square
#9C1E82 #9C771E #1E9C38 #1E439C
split-complementary
#9C1E82 #439C1E #1E9C77
monochromatic
#350A2C #691457 #9C1E82 #CF28AD #DE56C2

Accessibility & contrast

On white

7.19
#9C1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9C1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1E82
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1E82#FFFFFF#000000##FFFFFF
##9C1E821.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B85
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#A5264F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c1e82;
/* rgb */ color: rgb(156, 30, 130);
/* oklch */ color: oklch(48.3% 0.189 338.3);
Tailwind
colors: {
  custom: {
    50: '#bd6aa6',
    500: '#9c1e82',
    950: '#000000',
  },
}
SCSS
$custom: #9c1e82;
$custom-light: #bd6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1e82",
  "rgb": {
    "r": 156,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 312.381,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48322,
    "c": 0.18908,
    "h": 338.3
  },
  "luminance": 0.09608
}

Semantic roles & 50–950 ramp

primary
#9C1E82
secondary
#54C26B
accent
#EB613D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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