#A0178B#A0178B

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

Color values

HEX#A0178B
RGBrgb(160, 23, 139)
HSLhsl(309, 75%, 36%)
HSVhsv(309, 86%, 63%)
CMYKcmyk(0%, 85.6%, 13.1%, 37.3%)
CIE-LABlab(37.76, 63.01, -30.30)
CIE-LCHlch(37.76, 69.91, 334.32°)
OKLaboklab(49.05% 0.1851 -0.0828)
OKLCHoklch(49.05% 0.203 335.9)
XYZxyz(19.4641, 9.9523, 25.3170)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0178B #17A02C
analogous
#7017A0 #A0178B #A01746
triadic
#A0178B #8BA017 #178BA0
tetradic
#A0178B #A07017 #17A02C #1746A0
square
#A0178B #A07017 #17A02C #1746A0
split-complementary
#A0178B #46A017 #17A070
monochromatic
#35082E #6A0F5D #A0178B #D61FB9 #E54CCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0178B#FFFFFF#000000##FFFFFF
##A0178B1.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)
#194C8E
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#A92553
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0178b;
/* rgb */ color: rgb(160, 23, 139);
/* oklch */ color: oklch(49.1% 0.203 335.9);
Tailwind
colors: {
  custom: {
    50: '#c069ad',
    500: '#a0178b',
    950: '#000000',
  },
}
SCSS
$custom: #a0178b;
$custom-light: #c069ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a0178b",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 139
  },
  "hsl": {
    "h": 309.197,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49054,
    "c": 0.20278,
    "h": 335.9
  },
  "luminance": 0.0995
}

Semantic roles & 50–950 ramp

primary
#A0178B
secondary
#4CC75F
accent
#F15336
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0178B

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

Preview Lab → · Contrast checker → · Palette generator →

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