#A178CD#A178CD

#A178CD is a light, vivid violet. Relative luminance 0.254; OKLCH L 64.7% C 0.130 H 305.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A178CD
RGBrgb(161, 120, 205)
HSLhsl(269, 46%, 64%)
HSVhsv(269, 41%, 80%)
CMYKcmyk(21.5%, 41.5%, 0%, 19.6%)
CIE-LABlab(57.48, 32.67, -38.13)
CIE-LCHlch(57.48, 50.21, 310.58°)
OKLaboklab(64.66% 0.0751 -0.1061)
OKLCHoklch(64.66% 0.13 305.3)
XYZxyz(32.4316, 25.4180, 60.9434)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178CD #A4CD78
analogous
#7879CD #A178CD #CB78CD
triadic
#A178CD #CDA178 #78CDA1
tetradic
#A178CD #CD7879 #A4CD78 #78CDCB
square
#A178CD #CD7879 #A4CD78 #78CDCB
split-complementary
#A178CD #CDCB78 #79CD78
monochromatic
#643794 #824BBC #A178CD #C0A5DE #DFD1EE

Accessibility & contrast

On white

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

On black

6.08
#A178CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178CD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178CD#FFFFFF#000000##000000
##A178CD1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6489D0
Deuteranopia (green-blind)
#6D8ACB
Tritanopia (blue-blind)
#9A8699
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a178cd;
/* rgb */ color: rgb(161, 120, 205);
/* oklch */ color: oklch(64.7% 0.130 305.3);
Tailwind
colors: {
  custom: {
    50: '#be9fdc',
    500: '#a178cd',
    950: '#000000',
  },
}
SCSS
$custom: #a178cd;
$custom-light: #be9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a178cd",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 268.941,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64663,
    "c": 0.12996,
    "h": 305.3
  },
  "luminance": 0.25418
}

Semantic roles & 50–950 ramp

primary
#A178CD
secondary
#D1DFC1
accent
#B92C75
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A178CD

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

Preview Lab → · Contrast checker → · Palette generator →

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