#A1158C#A1158C

#A1158C is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.205 H 335.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#A1158C
RGBrgb(161, 21, 140)
HSLhsl(309, 77%, 36%)
HSVhsv(309, 87%, 63%)
CMYKcmyk(0%, 87%, 13%, 36.9%)
CIE-LABlab(37.86, 63.75, -30.74)
CIE-LCHlch(37.86, 70.78, 334.26°)
OKLaboklab(49.18% 0.1873 -0.0841)
OKLCHoklch(49.18% 0.205 335.8)
XYZxyz(19.7001, 10.0088, 25.7002)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1158C #15A12A
analogous
#7015A1 #A1158C #A11546
triadic
#A1158C #8CA115 #158CA1
tetradic
#A1158C #A17015 #15A12A #1546A1
square
#A1158C #A17015 #15A12A #1546A1
split-complementary
#A1158C #46A115 #15A170
monochromatic
#35072E #6B0E5D #A1158C #D71CBB #E749D0

Accessibility & contrast

On white

7.00
#A1158C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A1158C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1158C
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1158C#FFFFFF#000000##FFFFFF
##A1158C1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174C8F
Deuteranopia (green-blind)
#4F6089
Tritanopia (blue-blind)
#AA2453
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a1158c;
/* rgb */ color: rgb(161, 21, 140);
/* oklch */ color: oklch(49.2% 0.205 335.8);
Tailwind
colors: {
  custom: {
    50: '#c169ae',
    500: '#a1158c',
    950: '#000000',
  },
}
SCSS
$custom: #a1158c;
$custom-light: #c169ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a1158c",
  "rgb": {
    "r": 161,
    "g": 21,
    "b": 140
  },
  "hsl": {
    "h": 309,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49178,
    "c": 0.20527,
    "h": 335.8
  },
  "luminance": 0.10007
}

Semantic roles & 50–950 ramp

primary
#A1158C
secondary
#49C85C
accent
#F35134
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A1158C

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

Preview Lab → · Contrast checker → · Palette generator →

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