#A178FD#A178FD

#A178FD is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.3% C 0.191 H 295.0°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A178FD
RGBrgb(161, 120, 253)
HSLhsl(258, 97%, 73%)
HSVhsv(258, 53%, 99%)
CMYKcmyk(36.4%, 52.6%, 0%, 0.8%)
CIE-LABlab(59.98, 44.49, -60.96)
CIE-LCHlch(59.98, 75.47, 306.12°)
OKLaboklab(67.34% 0.0805 -0.1727)
OKLCHoklch(67.34% 0.191 295)
XYZxyz(39.1395, 28.1011, 96.2714)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178FD #D4FD78
analogous
#7891FD #A178FD #E378FD
triadic
#A178FD #FDA178 #78FDA1
tetradic
#A178FD #FD7891 #D4FD78 #78FDE3
square
#A178FD #FD7891 #D4FD78 #78FDE3
split-complementary
#A178FD #FDE378 #91FD78
monochromatic
#4F04F7 #773CFC #A178FD #CBB4FE #EAE1FF

Accessibility & contrast

On white

3.17
#A178FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#A178FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178FD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178FD#FFFFFF#000000##000000
##A178FD1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#4A8FFA
Tritanopia (blue-blind)
#8B93AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a178fd;
/* rgb */ color: rgb(161, 120, 253);
/* oklch */ color: oklch(67.3% 0.191 295.0);
Tailwind
colors: {
  custom: {
    50: '#c1a0ff',
    500: '#a178fd',
    950: '#000000',
  },
}
SCSS
$custom: #a178fd;
$custom-light: #c1a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a178fd",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 258.496,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67343,
    "c": 0.19053,
    "h": 295
  },
  "luminance": 0.28102
}

Semantic roles & 50–950 ramp

primary
#A178FD
secondary
#ECF7D4
accent
#E6009F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A178FD

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

Preview Lab → · Contrast checker → · Palette generator →

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