#A0178C#A0178C

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

Color values

HEX#A0178C
RGBrgb(160, 23, 140)
HSLhsl(309, 75%, 36%)
HSVhsv(309, 86%, 63%)
CMYKcmyk(0%, 85.6%, 12.5%, 37.3%)
CIE-LABlab(37.81, 63.15, -30.83)
CIE-LCHlch(37.81, 70.27, 333.98°)
OKLaboklab(49.11% 0.1851 -0.0844)
OKLCHoklch(49.11% 0.203 335.5)
XYZxyz(19.5375, 9.9817, 25.7036)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0178C #17A02B
analogous
#6F17A0 #A0178C #A01747
triadic
#A0178C #8CA017 #178CA0
tetradic
#A0178C #A06F17 #17A02B #1747A0
square
#A0178C #A06F17 #17A02B #1747A0
split-complementary
#A0178C #47A017 #17A06F
monochromatic
#35082E #6A0F5D #A0178C #D61FBB #E54CCF

Accessibility & contrast

On white

7.01
#A0178C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A0178C
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0178C#FFFFFF#000000##FFFFFF
##A0178C1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a0178c;
/* rgb */ color: rgb(160, 23, 140);
/* oklch */ color: oklch(49.1% 0.203 335.5);
Tailwind
colors: {
  custom: {
    50: '#c069ae',
    500: '#a0178c',
    950: '#000000',
  },
}
SCSS
$custom: #a0178c;
$custom-light: #c069ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a0178c",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 140
  },
  "hsl": {
    "h": 308.759,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49109,
    "c": 0.20344,
    "h": 335.5
  },
  "luminance": 0.0998
}

Semantic roles & 50–950 ramp

primary
#A0178C
secondary
#4CC75E
accent
#F15236
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0178C

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

Preview Lab → · Contrast checker → · Palette generator →

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