#A178CE#A178CE

#A178CE is a light, vivid violet. Relative luminance 0.255; OKLCH L 64.7% C 0.131 H 305.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A178CE
RGBrgb(161, 120, 206)
HSLhsl(269, 47%, 64%)
HSVhsv(269, 42%, 81%)
CMYKcmyk(21.8%, 41.7%, 0%, 19.2%)
CIE-LABlab(57.53, 32.90, -38.63)
CIE-LCHlch(57.53, 50.74, 310.42°)
OKLaboklab(64.71% 0.0752 -0.1075)
OKLCHoklch(64.71% 0.131 305)
XYZxyz(32.5527, 25.4664, 61.5811)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178CE #A5CE78
analogous
#787ACE #A178CE #CC78CE
triadic
#A178CE #CEA178 #78CEA1
tetradic
#A178CE #CE787A #A5CE78 #78CECC
square
#A178CE #CE787A #A5CE78 #78CECC
split-complementary
#A178CE #CECC78 #7ACE78
monochromatic
#643695 #824BBE #A178CE #C0A5DE #E0D2EF

Accessibility & contrast

On white

3.45
#A178CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#A178CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178CE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178CE#FFFFFF#000000##000000
##A178CE1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6389D1
Deuteranopia (green-blind)
#6D8ACC
Tritanopia (blue-blind)
#9A8699
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a178ce;
/* rgb */ color: rgb(161, 120, 206);
/* oklch */ color: oklch(64.7% 0.131 305.0);
Tailwind
colors: {
  custom: {
    50: '#be9fdd',
    500: '#a178ce',
    950: '#000000',
  },
}
SCSS
$custom: #a178ce;
$custom-light: #be9fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#a178ce",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 268.605,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64713,
    "c": 0.13123,
    "h": 305
  },
  "luminance": 0.25466
}

Semantic roles & 50–950 ramp

primary
#A178CE
secondary
#D2E0C2
accent
#BA2C76
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A178CE

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

Preview Lab → · Contrast checker → · Palette generator →

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