#A178AA#A178AA

#A178AA is a light, moderate purple. Relative luminance 0.239; OKLCH L 63.1% C 0.087 H 320.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A178AA
RGBrgb(161, 120, 170)
HSLhsl(289, 23%, 57%)
HSVhsv(289, 29%, 67%)
CMYKcmyk(5.3%, 29.4%, 0%, 33.3%)
CIE-LABlab(56.00, 24.97, -20.43)
CIE-LCHlch(56.00, 32.27, 320.71°)
OKLaboklab(63.05% 0.0667 -0.0556)
OKLCHoklch(63.05% 0.087 320.2)
XYZxyz(28.6692, 23.9130, 41.1278)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178AA #81AA78
analogous
#8878AA #A178AA #AA789A
triadic
#A178AA #AAA178 #78AAA1
tetradic
#A178AA #AA8878 #81AA78 #789AAA
square
#A178AA #AA8878 #81AA78 #789AAA
split-complementary
#A178AA #9AAA78 #78AA88
monochromatic
#604167 #83588C #A178AA #BB9EC2 #D5C3D9

Accessibility & contrast

On white

3.63
#A178AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#A178AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178AA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178AA#FFFFFF#000000##000000
##A178AA1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7283AC
Deuteranopia (green-blind)
#7C88A8
Tritanopia (blue-blind)
#A27D8A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a178aa;
/* rgb */ color: rgb(161, 120, 170);
/* oklch */ color: oklch(63.1% 0.087 320.2);
Tailwind
colors: {
  custom: {
    50: '#bd9fc3',
    500: '#a178aa',
    950: '#000000',
  },
}
SCSS
$custom: #a178aa;
$custom-light: #bd9fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a178aa",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 170
  },
  "hsl": {
    "h": 289.2,
    "s": 22.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63054,
    "c": 0.08683,
    "h": 320.2
  },
  "luminance": 0.23912
}

Semantic roles & 50–950 ramp

primary
#A178AA
secondary
#B8C9B5
accent
#BF6978
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#120E12
muted
#817E81

Preview Lab

Preview with #A178AA

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

Preview Lab → · Contrast checker → · Palette generator →

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