#A478EA#A478EA

#A478EA is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.5% C 0.167 H 299.7°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A478EA
RGBrgb(164, 120, 234)
HSLhsl(263, 73%, 69%)
HSVhsv(263, 49%, 92%)
CMYKcmyk(29.9%, 48.7%, 0%, 8.2%)
CIE-LABlab(59.22, 40.45, -51.64)
CIE-LCHlch(59.22, 65.59, 308.07°)
OKLaboklab(66.51% 0.0828 -0.1453)
OKLCHoklch(66.51% 0.167 299.7)
XYZxyz(36.8741, 27.2657, 81.1461)
Luminance0.2727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478EA #BEEA78
analogous
#7885EA #A478EA #DD78EA
triadic
#A478EA #EAA478 #78EAA4
tetradic
#A478EA #EA7885 #BEEA78 #78EADD
square
#A478EA #EA7885 #BEEA78 #78EADD
split-complementary
#A478EA #EADD78 #85EA78
monochromatic
#611FC8 #8043E2 #A478EA #C8ADF2 #EBE2FA

Accessibility & contrast

On white

3.25
#A478EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#A478EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478EA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478EA#FFFFFF#000000##000000
##A478EA1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#538EEE
Deuteranopia (green-blind)
#5D8EE7
Tritanopia (blue-blind)
#968DA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a478ea;
/* rgb */ color: rgb(164, 120, 234);
/* oklch */ color: oklch(66.5% 0.167 299.7);
Tailwind
colors: {
  custom: {
    50: '#c2a0f1',
    500: '#a478ea',
    950: '#000000',
  },
}
SCSS
$custom: #a478ea;
$custom-light: #c2a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a478ea",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 263.158,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66506,
    "c": 0.16723,
    "h": 299.7
  },
  "luminance": 0.27266
}

Semantic roles & 50–950 ramp

primary
#A478EA
secondary
#E3EFCE
accent
#D51089
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A478EA

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

Preview Lab → · Contrast checker → · Palette generator →

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