#A178CC#A178CC

#A178CC is a light, vivid violet. Relative luminance 0.254; OKLCH L 64.6% C 0.129 H 305.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A178CC
RGBrgb(161, 120, 204)
HSLhsl(269, 45%, 64%)
HSVhsv(269, 41%, 80%)
CMYKcmyk(21.1%, 41.2%, 0%, 20%)
CIE-LABlab(57.43, 32.43, -37.64)
CIE-LCHlch(57.43, 49.69, 310.75°)
OKLaboklab(64.61% 0.0749 -0.1047)
OKLCHoklch(64.61% 0.129 305.6)
XYZxyz(32.3113, 25.3698, 60.3097)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178CC #A3CC78
analogous
#7879CC #A178CC #CB78CC
triadic
#A178CC #CCA178 #78CCA1
tetradic
#A178CC #CC7879 #A3CC78 #78CCCB
square
#A178CC #CC7879 #A3CC78 #78CCCB
split-complementary
#A178CC #CCCB78 #79CC78
monochromatic
#643792 #824CBB #A178CC #C0A4DD #DFD1EE

Accessibility & contrast

On white

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

On black

6.07
#A178CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178CC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178CC#FFFFFF#000000##000000
##A178CC1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6489CF
Deuteranopia (green-blind)
#6E8ACA
Tritanopia (blue-blind)
#9A8598
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a178cc;
/* rgb */ color: rgb(161, 120, 204);
/* oklch */ color: oklch(64.6% 0.129 305.6);
Tailwind
colors: {
  custom: {
    50: '#be9fdc',
    500: '#a178cc',
    950: '#000000',
  },
}
SCSS
$custom: #a178cc;
$custom-light: #be9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a178cc",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 269.286,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64613,
    "c": 0.12869,
    "h": 305.6
  },
  "luminance": 0.2537
}

Semantic roles & 50–950 ramp

primary
#A178CC
secondary
#D0DFC1
accent
#B82D74
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A178CC

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

Preview Lab → · Contrast checker → · Palette generator →

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