#A178DF#A178DF

#A178DF is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.6% C 0.153 H 300.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A178DF
RGBrgb(161, 120, 223)
HSLhsl(264, 62%, 67%)
HSVhsv(264, 46%, 87%)
CMYKcmyk(27.8%, 46.2%, 0%, 12.5%)
CIE-LABlab(58.36, 36.96, -46.89)
CIE-LCHlch(58.36, 59.70, 308.25°)
OKLaboklab(65.61% 0.0779 -0.1315)
OKLCHoklch(65.61% 0.153 300.6)
XYZxyz(34.7306, 26.3376, 73.0517)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178DF #B6DF78
analogous
#7883DF #A178DF #D478DF
triadic
#A178DF #DFA178 #78DFA1
tetradic
#A178DF #DF7883 #B6DF78 #78DFD4
square
#A178DF #DF7883 #B6DF78 #78DFD4
split-complementary
#A178DF #DFD478 #83DF78
monochromatic
#602AB2 #7F47D3 #A178DF #C3A9EB #E6DBF6

Accessibility & contrast

On white

3.35
#A178DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#A178DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178DF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178DF#FFFFFF#000000##000000
##A178DF1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#598CE3
Deuteranopia (green-blind)
#638CDC
Tritanopia (blue-blind)
#958AA1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a178df;
/* rgb */ color: rgb(161, 120, 223);
/* oklch */ color: oklch(65.6% 0.153 300.6);
Tailwind
colors: {
  custom: {
    50: '#bfa0e9',
    500: '#a178df',
    950: '#000000',
  },
}
SCSS
$custom: #a178df;
$custom-light: #bfa0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a178df",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 263.883,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65607,
    "c": 0.15284,
    "h": 300.6
  },
  "luminance": 0.26338
}

Semantic roles & 50–950 ramp

primary
#A178DF
secondary
#DDEAC9
accent
#C91C84
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A178DF

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

Preview Lab → · Contrast checker → · Palette generator →

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