#A178EE#A178EE

#A178EE is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.5% C 0.172 H 297.6°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A178EE
RGBrgb(161, 120, 238)
HSLhsl(261, 78%, 70%)
HSVhsv(261, 50%, 93%)
CMYKcmyk(32.4%, 49.6%, 0%, 6.7%)
CIE-LABlab(59.14, 40.67, -54.00)
CIE-LCHlch(59.14, 67.61, 306.99°)
OKLaboklab(66.45% 0.0795 -0.1523)
OKLCHoklch(66.45% 0.172 297.6)
XYZxyz(36.8432, 27.1826, 84.1780)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178EE #C5EE78
analogous
#788AEE #A178EE #DC78EE
triadic
#A178EE #EEA178 #78EEA1
tetradic
#A178EE #EE788A #C5EE78 #78EEDC
square
#A178EE #EE788A #C5EE78 #78EEDC
split-complementary
#A178EE #EEDC78 #8AEE78
monochromatic
#5A1AD1 #7B42E7 #A178EE #C7AEF5 #ECE4FC

Accessibility & contrast

On white

3.26
#A178EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#A178EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178EE
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178EE#FFFFFF#000000##000000
##A178EE1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF2
Deuteranopia (green-blind)
#588DEB
Tritanopia (blue-blind)
#908FA8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a178ee;
/* rgb */ color: rgb(161, 120, 238);
/* oklch */ color: oklch(66.5% 0.172 297.6);
Tailwind
colors: {
  custom: {
    50: '#c0a0f4',
    500: '#a178ee',
    950: '#000000',
  },
}
SCSS
$custom: #a178ee;
$custom-light: #c0a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a178ee",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 260.847,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66451,
    "c": 0.17179,
    "h": 297.6
  },
  "luminance": 0.27183
}

Semantic roles & 50–950 ramp

primary
#A178EE
secondary
#E6F1D1
accent
#DA0C92
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A178EE

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

Preview Lab → · Contrast checker → · Palette generator →

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