#A178EA#A178EA

#A178EA is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.2% C 0.167 H 298.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A178EA
RGBrgb(161, 120, 234)
HSLhsl(262, 73%, 69%)
HSVhsv(262, 49%, 92%)
CMYKcmyk(31.2%, 48.7%, 0%, 8.2%)
CIE-LABlab(58.93, 39.67, -52.12)
CIE-LCHlch(58.93, 65.50, 307.28°)
OKLaboklab(66.22% 0.0791 -0.1468)
OKLCHoklch(66.22% 0.167 298.3)
XYZxyz(36.2621, 26.9502, 81.1174)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178EA #C1EA78
analogous
#7888EA #A178EA #DA78EA
triadic
#A178EA #EAA178 #78EAA1
tetradic
#A178EA #EA7888 #C1EA78 #78EADA
square
#A178EA #EA7888 #C1EA78 #78EADA
split-complementary
#A178EA #EADA78 #88EA78
monochromatic
#5C1FC8 #7C43E2 #A178EA #C6ADF2 #EBE2FA

Accessibility & contrast

On white

3.29
#A178EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#A178EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178EA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178EA#FFFFFF#000000##000000
##A178EA1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEE
Deuteranopia (green-blind)
#5B8DE7
Tritanopia (blue-blind)
#928DA6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a178ea;
/* rgb */ color: rgb(161, 120, 234);
/* oklch */ color: oklch(66.2% 0.167 298.3);
Tailwind
colors: {
  custom: {
    50: '#c0a0f1',
    500: '#a178ea',
    950: '#000000',
  },
}
SCSS
$custom: #a178ea;
$custom-light: #c0a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a178ea",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 261.579,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66221,
    "c": 0.16676,
    "h": 298.3
  },
  "luminance": 0.26951
}

Semantic roles & 50–950 ramp

primary
#A178EA
secondary
#E4EFCE
accent
#D5108E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #A178EA

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

Preview Lab → · Contrast checker → · Palette generator →

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