#A1148E#A1148E

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

Color values

HEX#A1148E
RGBrgb(161, 20, 142)
HSLhsl(308, 78%, 35%)
HSVhsv(308, 88%, 63%)
CMYKcmyk(0%, 87.6%, 11.8%, 36.9%)
CIE-LABlab(37.90, 64.23, -31.90)
CIE-LCHlch(37.90, 71.71, 333.58°)
OKLaboklab(49.24% 0.1879 -0.0874)
OKLCHoklch(49.24% 0.207 335)
XYZxyz(19.8309, 10.0323, 26.4780)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1148E #14A127
analogous
#6D14A1 #A1148E #A11447
triadic
#A1148E #8EA114 #148EA1
tetradic
#A1148E #A16D14 #14A127 #1447A1
square
#A1148E #A16D14 #14A127 #1447A1
split-complementary
#A1148E #47A114 #14A16D
monochromatic
#34062E #6B0D5E #A1148E #D71BBE #E847D2

Accessibility & contrast

On white

6.99
#A1148E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A1148E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1148E
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1148E#FFFFFF#000000##FFFFFF
##A1148E1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#4E608B
Tritanopia (blue-blind)
#A92554
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a1148e;
/* rgb */ color: rgb(161, 20, 142);
/* oklch */ color: oklch(49.2% 0.207 335.0);
Tailwind
colors: {
  custom: {
    50: '#c168af',
    500: '#a1148e',
    950: '#000000',
  },
}
SCSS
$custom: #a1148e;
$custom-light: #c168af;
$custom-dark: #000000;
JSON
{
  "hex": "#a1148e",
  "rgb": {
    "r": 161,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 308.085,
    "s": 77.901,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49242,
    "c": 0.20723,
    "h": 335
  },
  "luminance": 0.1003
}

Semantic roles & 50–950 ramp

primary
#A1148E
secondary
#48C959
accent
#F44D33
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A1148E

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

Preview Lab → · Contrast checker → · Palette generator →

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