#9A1C87#9A1C87

#9A1C87 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.193 H 335.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9A1C87
RGBrgb(154, 28, 135)
HSLhsl(309, 69%, 36%)
HSVhsv(309, 82%, 60%)
CMYKcmyk(0%, 81.8%, 12.3%, 39.6%)
CIE-LABlab(36.84, 59.99, -29.35)
CIE-LCHlch(36.84, 66.78, 333.93°)
OKLaboklab(48.13% 0.1757 -0.0803)
OKLCHoklch(48.13% 0.193 335.4)
XYZxyz(18.1151, 9.4515, 23.7872)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1C87 #1C9A2F
analogous
#6E1C9A #9A1C87 #9A1C48
triadic
#9A1C87 #879A1C #1C879A
tetradic
#9A1C87 #9A6E1C #1C9A2F #1C489A
square
#9A1C87 #9A6E1C #1C9A2F #1C489A
split-complementary
#9A1C87 #489A1C #1C9A6E
monochromatic
#32092C #66135A #9A1C87 #CE25B4 #DF51CA

Accessibility & contrast

On white

7.27
#9A1C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A1C87
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1C87#FFFFFF#000000##FFFFFF
##9A1C871.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B8A
Deuteranopia (green-blind)
#4D5D84
Tritanopia (blue-blind)
#A22851
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a1c87;
/* rgb */ color: rgb(154, 28, 135);
/* oklch */ color: oklch(48.1% 0.193 335.4);
Tailwind
colors: {
  custom: {
    50: '#bc69aa',
    500: '#9a1c87',
    950: '#000000',
  },
}
SCSS
$custom: #9a1c87;
$custom-light: #bc69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1c87",
  "rgb": {
    "r": 154,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 309.048,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48126,
    "c": 0.19314,
    "h": 335.4
  },
  "luminance": 0.0945
}

Semantic roles & 50–950 ramp

primary
#9A1C87
secondary
#50C261
accent
#EC563C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A1C87

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

Preview Lab → · Contrast checker → · Palette generator →

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