#A178DC#A178DC

#A178DC is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.4% C 0.149 H 301.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A178DC
RGBrgb(161, 120, 220)
HSLhsl(265, 59%, 67%)
HSVhsv(265, 45%, 86%)
CMYKcmyk(26.8%, 45.5%, 0%, 13.7%)
CIE-LABlab(58.20, 36.23, -45.44)
CIE-LCHlch(58.20, 58.12, 308.56°)
OKLaboklab(65.44% 0.0775 -0.1273)
OKLCHoklch(65.44% 0.149 301.3)
XYZxyz(34.3298, 26.1772, 70.9404)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178DC #B3DC78
analogous
#7881DC #A178DC #D378DC
triadic
#A178DC #DCA178 #78DCA1
tetradic
#A178DC #DC7881 #B3DC78 #78DCD3
square
#A178DC #DC7881 #B3DC78 #78DCD3
split-complementary
#A178DC #DCD378 #81DC78
monochromatic
#612DAD #7F47CF #A178DC #C3A9E9 #E5D9F5

Accessibility & contrast

On white

3.37
#A178DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#A178DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178DC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178DC#FFFFFF#000000##000000
##A178DC1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8BE0
Deuteranopia (green-blind)
#658BD9
Tritanopia (blue-blind)
#968A9F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a178dc;
/* rgb */ color: rgb(161, 120, 220);
/* oklch */ color: oklch(65.4% 0.149 301.3);
Tailwind
colors: {
  custom: {
    50: '#bfa0e7',
    500: '#a178dc',
    950: '#000000',
  },
}
SCSS
$custom: #a178dc;
$custom-light: #bfa0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a178dc",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 264.6,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65445,
    "c": 0.14903,
    "h": 301.3
  },
  "luminance": 0.26177
}

Semantic roles & 50–950 ramp

primary
#A178DC
secondary
#DBE8C8
accent
#C61F82
background
#FBF9FE
surface
#F7F2FC
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A178DC

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

Preview Lab → · Contrast checker → · Palette generator →

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