#A178BD#A178BD

#A178BD is a light, moderate violet. Relative luminance 0.247; OKLCH L 63.9% C 0.110 H 310.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A178BD
RGBrgb(161, 120, 189)
HSLhsl(276, 34%, 61%)
HSVhsv(276, 37%, 74%)
CMYKcmyk(14.8%, 36.5%, 0%, 25.9%)
CIE-LABlab(56.77, 29.03, -30.15)
CIE-LCHlch(56.77, 41.86, 313.91°)
OKLaboklab(63.89% 0.0717 -0.0831)
OKLCHoklch(63.89% 0.11 310.8)
XYZxyz(30.5981, 24.6846, 51.2869)
Luminance0.2468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178BD #94BD78
analogous
#7E78BD #A178BD #BD78B6
triadic
#A178BD #BDA178 #78BDA1
tetradic
#A178BD #BD7E78 #94BD78 #78B6BD
square
#A178BD #BD7E78 #94BD78 #78B6BD
split-complementary
#A178BD #B6BD78 #78BD7E
monochromatic
#633D7D #8451A6 #A178BD #BEA1D1 #DACAE5

Accessibility & contrast

On white

3.54
#A178BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#A178BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178BD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178BD#FFFFFF#000000##000000
##A178BD1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B86C0
Deuteranopia (green-blind)
#7589BB
Tritanopia (blue-blind)
#9E8292
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a178bd;
/* rgb */ color: rgb(161, 120, 189);
/* oklch */ color: oklch(63.9% 0.110 310.8);
Tailwind
colors: {
  custom: {
    50: '#be9fd1',
    500: '#a178bd',
    950: '#000000',
  },
}
SCSS
$custom: #a178bd;
$custom-light: #be9fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a178bd",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 275.652,
    "s": 34.328,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63889,
    "c": 0.10979,
    "h": 310.8
  },
  "luminance": 0.24684
}

Semantic roles & 50–950 ramp

primary
#A178BD
secondary
#C6D6BB
accent
#AD3868
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A178BD

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

Preview Lab → · Contrast checker → · Palette generator →

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