#A1158A#A1158A

#A1158A is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.204 H 336.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#A1158A
RGBrgb(161, 21, 138)
HSLhsl(310, 77%, 36%)
HSVhsv(310, 87%, 63%)
CMYKcmyk(0%, 87%, 14.3%, 36.9%)
CIE-LABlab(37.75, 63.47, -29.68)
CIE-LCHlch(37.75, 70.07, 334.94°)
OKLaboklab(49.07% 0.1872 -0.081)
OKLCHoklch(49.07% 0.204 336.6)
XYZxyz(19.5540, 9.9503, 24.9306)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1158A #15A12C
analogous
#7215A1 #A1158A #A11544
triadic
#A1158A #8AA115 #158AA1
tetradic
#A1158A #A17215 #15A12C #1544A1
square
#A1158A #A17215 #15A12C #1544A1
split-complementary
#A1158A #44A115 #15A172
monochromatic
#35072D #6B0E5C #A1158A #D71CB8 #E749CD

Accessibility & contrast

On white

7.02
#A1158A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A1158A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1158A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1158A#FFFFFF#000000##FFFFFF
##A1158A1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8D
Deuteranopia (green-blind)
#506087
Tritanopia (blue-blind)
#AA2352
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a1158a;
/* rgb */ color: rgb(161, 21, 138);
/* oklch */ color: oklch(49.1% 0.204 336.6);
Tailwind
colors: {
  custom: {
    50: '#c169ac',
    500: '#a1158a',
    950: '#000000',
  },
}
SCSS
$custom: #a1158a;
$custom-light: #c169ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a1158a",
  "rgb": {
    "r": 161,
    "g": 21,
    "b": 138
  },
  "hsl": {
    "h": 309.857,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49069,
    "c": 0.20396,
    "h": 336.6
  },
  "luminance": 0.09948
}

Semantic roles & 50–950 ramp

primary
#A1158A
secondary
#49C85E
accent
#F35434
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A1158A

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

Preview Lab → · Contrast checker → · Palette generator →

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