#A178CB#A178CB

#A178CB is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.6% C 0.127 H 305.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A178CB
RGBrgb(161, 120, 203)
HSLhsl(270, 44%, 63%)
HSVhsv(270, 41%, 80%)
CMYKcmyk(20.7%, 40.9%, 0%, 20.4%)
CIE-LABlab(57.39, 32.20, -37.15)
CIE-LCHlch(57.39, 49.16, 310.92°)
OKLaboklab(64.56% 0.0747 -0.1032)
OKLCHoklch(64.56% 0.127 305.9)
XYZxyz(32.1917, 25.3220, 59.6801)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178CB #A2CB78
analogous
#7878CB #A178CB #CB78CB
triadic
#A178CB #CBA178 #78CBA1
tetradic
#A178CB #CB7878 #A2CB78 #78CBCB
square
#A178CB #CB7878 #A2CB78 #78CBCB
split-complementary
#A178CB #CBCB78 #78CB78
monochromatic
#643891 #824CBA #A178CB #C0A4DC #DFD0ED

Accessibility & contrast

On white

3.46
#A178CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#A178CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178CB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178CB#FFFFFF#000000##000000
##A178CB1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6588CE
Deuteranopia (green-blind)
#6E8AC9
Tritanopia (blue-blind)
#9B8598
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a178cb;
/* rgb */ color: rgb(161, 120, 203);
/* oklch */ color: oklch(64.6% 0.127 305.9);
Tailwind
colors: {
  custom: {
    50: '#be9fdb',
    500: '#a178cb',
    950: '#000000',
  },
}
SCSS
$custom: #a178cb;
$custom-light: #be9fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a178cb",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 269.639,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64563,
    "c": 0.12742,
    "h": 305.9
  },
  "luminance": 0.25322
}

Semantic roles & 50–950 ramp

primary
#A178CB
secondary
#D0DEC1
accent
#B82E74
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A178CB

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

Preview Lab → · Contrast checker → · Palette generator →

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