#A178BB#A178BB

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

Color values

HEX#A178BB
RGBrgb(161, 120, 187)
HSLhsl(277, 33%, 60%)
HSVhsv(277, 36%, 73%)
CMYKcmyk(13.9%, 35.8%, 0%, 26.7%)
CIE-LABlab(56.68, 28.59, -29.14)
CIE-LCHlch(56.68, 40.82, 314.45°)
OKLaboklab(63.8% 0.0712 -0.0802)
OKLCHoklch(63.8% 0.107 311.6)
XYZxyz(30.3825, 24.5983, 50.1515)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178BB #92BB78
analogous
#7F78BB #A178BB #BB78B4
triadic
#A178BB #BBA178 #78BBA1
tetradic
#A178BB #BB7F78 #92BB78 #78B4BB
square
#A178BB #BB7F78 #92BB78 #78B4BB
split-complementary
#A178BB #B4BB78 #78BB7F
monochromatic
#633E7B #8452A3 #A178BB #BDA1D0 #DAC9E4

Accessibility & contrast

On white

3.55
#A178BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#A178BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178BB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178BB#FFFFFF#000000##000000
##A178BB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a178bb;
/* rgb */ color: rgb(161, 120, 187);
/* oklch */ color: oklch(63.8% 0.107 311.6);
Tailwind
colors: {
  custom: {
    50: '#be9fcf',
    500: '#a178bb',
    950: '#000000',
  },
}
SCSS
$custom: #a178bb;
$custom-light: #be9fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a178bb",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 276.716,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63797,
    "c": 0.10731,
    "h": 311.6
  },
  "luminance": 0.24598
}

Semantic roles & 50–950 ramp

primary
#A178BB
secondary
#C5D4BB
accent
#AC3A66
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A178BB

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

Preview Lab → · Contrast checker → · Palette generator →

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