#A0178E#A0178E

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

Color values

HEX#A0178E
RGBrgb(160, 23, 142)
HSLhsl(308, 75%, 36%)
HSVhsv(308, 86%, 63%)
CMYKcmyk(0%, 85.6%, 11.2%, 37.3%)
CIE-LABlab(37.92, 63.43, -31.89)
CIE-LCHlch(37.92, 71.00, 333.31°)
OKLaboklab(49.22% 0.1852 -0.0874)
OKLCHoklch(49.22% 0.205 334.7)
XYZxyz(19.6864, 10.0412, 26.4873)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0178E #17A029
analogous
#6D17A0 #A0178E #A01749
triadic
#A0178E #8EA017 #178EA0
tetradic
#A0178E #A06D17 #17A029 #1749A0
square
#A0178E #A06D17 #17A029 #1749A0
split-complementary
#A0178E #49A017 #17A06D
monochromatic
#35082F #6A0F5F #A0178E #D61FBD #E54CD1

Accessibility & contrast

On white

6.98
#A0178E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A0178E
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0178E#FFFFFF#000000##FFFFFF
##A0178E1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D91
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#A82755
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0178e;
/* rgb */ color: rgb(160, 23, 142);
/* oklch */ color: oklch(49.2% 0.205 334.7);
Tailwind
colors: {
  custom: {
    50: '#c069af',
    500: '#a0178e',
    950: '#000000',
  },
}
SCSS
$custom: #a0178e;
$custom-light: #c069af;
$custom-dark: #000000;
JSON
{
  "hex": "#a0178e",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 307.883,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4922,
    "c": 0.20479,
    "h": 334.7
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#A0178E
secondary
#4CC75C
accent
#F14F36
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0178E

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

Preview Lab → · Contrast checker → · Palette generator →

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