#9A1E82#9A1E82

#9A1E82 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.188 H 337.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9A1E82
RGBrgb(154, 30, 130)
HSLhsl(312, 67%, 36%)
HSVhsv(312, 81%, 60%)
CMYKcmyk(0%, 80.5%, 15.6%, 39.6%)
CIE-LABlab(36.77, 58.74, -26.37)
CIE-LCHlch(36.77, 64.38, 335.82°)
OKLaboklab(47.99% 0.1737 -0.0717)
OKLCHoklch(47.99% 0.188 337.6)
XYZxyz(17.8204, 9.4120, 21.9930)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E82 #1E9A36
analogous
#741E9A #9A1E82 #9A1E44
triadic
#9A1E82 #829A1E #1E829A
tetradic
#9A1E82 #9A741E #1E9A36 #1E449A
square
#9A1E82 #9A741E #1E9A36 #1E449A
split-complementary
#9A1E82 #449A1E #1E9A74
monochromatic
#340A2C #671457 #9A1E82 #CD28AD #DE55C3

Accessibility & contrast

On white

7.29
#9A1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9A1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E82
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E82#FFFFFF#000000##FFFFFF
##9A1E821.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A85
Deuteranopia (green-blind)
#4F5D7F
Tritanopia (blue-blind)
#A3264F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a1e82;
/* rgb */ color: rgb(154, 30, 130);
/* oklch */ color: oklch(48.0% 0.188 337.6);
Tailwind
colors: {
  custom: {
    50: '#bc6aa6',
    500: '#9a1e82',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e82;
$custom-light: #bc6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e82",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 311.613,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4799,
    "c": 0.18797,
    "h": 337.6
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#9A1E82
secondary
#53C168
accent
#EA5F3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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