#A178CA#A178CA

#A178CA is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.5% C 0.126 H 306.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A178CA
RGBrgb(161, 120, 202)
HSLhsl(270, 44%, 63%)
HSVhsv(270, 41%, 79%)
CMYKcmyk(20.3%, 40.6%, 0%, 20.8%)
CIE-LABlab(57.34, 31.97, -36.65)
CIE-LCHlch(57.34, 48.64, 311.10°)
OKLaboklab(64.51% 0.0745 -0.1018)
OKLCHoklch(64.51% 0.126 306.2)
XYZxyz(32.0730, 25.2745, 59.0545)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178CA #A1CA78
analogous
#7878CA #A178CA #CA78CA
triadic
#A178CA #CAA178 #78CAA1
tetradic
#A178CA #CA7878 #A1CA78 #78CACA
square
#A178CA #CA7878 #A1CA78 #78CACA
split-complementary
#A178CA #CACA78 #78CA78
monochromatic
#64388F #824CB9 #A178CA #C0A4DB #DED0ED

Accessibility & contrast

On white

3.47
#A178CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#A178CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178CA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178CA#FFFFFF#000000##000000
##A178CA1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6588CD
Deuteranopia (green-blind)
#6F8AC8
Tritanopia (blue-blind)
#9B8597
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a178ca;
/* rgb */ color: rgb(161, 120, 202);
/* oklch */ color: oklch(64.5% 0.126 306.2);
Tailwind
colors: {
  custom: {
    50: '#be9fda',
    500: '#a178ca',
    950: '#000000',
  },
}
SCSS
$custom: #a178ca;
$custom-light: #be9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#a178ca",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 270,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64513,
    "c": 0.12616,
    "h": 306.2
  },
  "luminance": 0.25274
}

Semantic roles & 50–950 ramp

primary
#A178CA
secondary
#CFDEC0
accent
#B72F73
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A178CA

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

Preview Lab → · Contrast checker → · Palette generator →

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