#A0178F#A0178F

#A0178F is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.205 H 334.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A0178F
RGBrgb(160, 23, 143)
HSLhsl(307, 75%, 36%)
HSVhsv(307, 86%, 63%)
CMYKcmyk(0%, 85.6%, 10.6%, 37.3%)
CIE-LABlab(37.97, 63.58, -32.42)
CIE-LCHlch(37.97, 71.37, 332.98°)
OKLaboklab(49.28% 0.1852 -0.089)
OKLCHoklch(49.28% 0.205 334.3)
XYZxyz(19.7618, 10.0714, 26.8845)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0178F #17A028
analogous
#6C17A0 #A0178F #A0174A
triadic
#A0178F #8FA017 #178FA0
tetradic
#A0178F #A06C17 #17A028 #174AA0
square
#A0178F #A06C17 #17A028 #174AA0
split-complementary
#A0178F #4AA017 #17A06C
monochromatic
#35082F #6A0F5F #A0178F #D61FBF #E54CD2

Accessibility & contrast

On white

6.97
#A0178F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A0178F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0178F#FFFFFF#000000##FFFFFF
##A0178F1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134D92
Deuteranopia (green-blind)
#4D608C
Tritanopia (blue-blind)
#A82855
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0178f;
/* rgb */ color: rgb(160, 23, 143);
/* oklch */ color: oklch(49.3% 0.205 334.3);
Tailwind
colors: {
  custom: {
    50: '#c069b0',
    500: '#a0178f',
    950: '#000000',
  },
}
SCSS
$custom: #a0178f;
$custom-light: #c069b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a0178f",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 307.445,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.20547,
    "h": 334.3
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#A0178F
secondary
#4CC75B
accent
#F14E36
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0178F

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

Preview Lab → · Contrast checker → · Palette generator →

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