#A0178D#A0178D

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

Color values

HEX#A0178D
RGBrgb(160, 23, 141)
HSLhsl(308, 75%, 36%)
HSVhsv(308, 86%, 63%)
CMYKcmyk(0%, 85.6%, 11.9%, 37.3%)
CIE-LABlab(37.86, 63.29, -31.36)
CIE-LCHlch(37.86, 70.63, 333.64°)
OKLaboklab(49.16% 0.1852 -0.0859)
OKLCHoklch(49.16% 0.204 335.1)
XYZxyz(19.6116, 10.0113, 26.0937)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0178D #17A02A
analogous
#6E17A0 #A0178D #A01748
triadic
#A0178D #8DA017 #178DA0
tetradic
#A0178D #A06E17 #17A02A #1748A0
square
#A0178D #A06E17 #17A02A #1748A0
split-complementary
#A0178D #48A017 #17A06E
monochromatic
#35082F #6A0F5E #A0178D #D61FBC #E54CD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0178D#FFFFFF#000000##FFFFFF
##A0178D1.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)
#164D90
Deuteranopia (green-blind)
#4E608A
Tritanopia (blue-blind)
#A82654
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0178d;
/* rgb */ color: rgb(160, 23, 141);
/* oklch */ color: oklch(49.2% 0.204 335.1);
Tailwind
colors: {
  custom: {
    50: '#c069af',
    500: '#a0178d',
    950: '#000000',
  },
}
SCSS
$custom: #a0178d;
$custom-light: #c069af;
$custom-dark: #000000;
JSON
{
  "hex": "#a0178d",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 308.321,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49164,
    "c": 0.20412,
    "h": 335.1
  },
  "luminance": 0.10009
}

Semantic roles & 50–950 ramp

primary
#A0178D
secondary
#4CC75D
accent
#F15036
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0178D

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

Preview Lab → · Contrast checker → · Palette generator →

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