#A178BC#A178BC

#A178BC is a light, moderate violet. Relative luminance 0.246; OKLCH L 63.8% C 0.109 H 311.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A178BC
RGBrgb(161, 120, 188)
HSLhsl(276, 34%, 60%)
HSVhsv(276, 36%, 74%)
CMYKcmyk(14.4%, 36.2%, 0%, 26.3%)
CIE-LABlab(56.72, 28.81, -29.65)
CIE-LCHlch(56.72, 41.34, 314.18°)
OKLaboklab(63.84% 0.0715 -0.0817)
OKLCHoklch(63.84% 0.109 311.2)
XYZxyz(30.4899, 24.6413, 50.7172)
Luminance0.2464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178BC #93BC78
analogous
#7F78BC #A178BC #BC78B5
triadic
#A178BC #BCA178 #78BCA1
tetradic
#A178BC #BC7F78 #93BC78 #78B5BC
square
#A178BC #BC7F78 #93BC78 #78B5BC
split-complementary
#A178BC #B5BC78 #78BC7F
monochromatic
#633E7C #8452A5 #A178BC #BDA1D0 #DACAE5

Accessibility & contrast

On white

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

On black

5.93
#A178BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178BC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178BC#FFFFFF#000000##000000
##A178BC1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C86BF
Deuteranopia (green-blind)
#7589BA
Tritanopia (blue-blind)
#9E8191
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a178bc;
/* rgb */ color: rgb(161, 120, 188);
/* oklch */ color: oklch(63.8% 0.109 311.2);
Tailwind
colors: {
  custom: {
    50: '#be9fd0',
    500: '#a178bc',
    950: '#000000',
  },
}
SCSS
$custom: #a178bc;
$custom-light: #be9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a178bc",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 276.176,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63843,
    "c": 0.10855,
    "h": 311.2
  },
  "luminance": 0.24641
}

Semantic roles & 50–950 ramp

primary
#A178BC
secondary
#C5D5BB
accent
#AC3967
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A178BC

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

Preview Lab → · Contrast checker → · Palette generator →

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