#A478EE#A478EE

#A478EE is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.7% C 0.172 H 298.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A478EE
RGBrgb(164, 120, 238)
HSLhsl(262, 78%, 70%)
HSVhsv(262, 50%, 93%)
CMYKcmyk(31.1%, 49.6%, 0%, 6.7%)
CIE-LABlab(59.43, 41.43, -53.52)
CIE-LCHlch(59.43, 67.69, 307.74°)
OKLaboklab(66.73% 0.0832 -0.1508)
OKLCHoklch(66.73% 0.172 298.9)
XYZxyz(37.4552, 27.4982, 84.2067)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478EE #C2EE78
analogous
#7887EE #A478EE #DF78EE
triadic
#A478EE #EEA478 #78EEA4
tetradic
#A478EE #EE7887 #C2EE78 #78EEDF
square
#A478EE #EE7887 #C2EE78 #78EEDF
split-complementary
#A478EE #EEDF78 #87EE78
monochromatic
#5F1AD1 #7F42E7 #A478EE #C9AEF5 #EDE4FC

Accessibility & contrast

On white

3.23
#A478EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#A478EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478EE
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478EE#FFFFFF#000000##000000
##A478EE1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8FF2
Deuteranopia (green-blind)
#5A8EEB
Tritanopia (blue-blind)
#958EA8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a478ee;
/* rgb */ color: rgb(164, 120, 238);
/* oklch */ color: oklch(66.7% 0.172 298.9);
Tailwind
colors: {
  custom: {
    50: '#c2a0f4',
    500: '#a478ee',
    950: '#000000',
  },
}
SCSS
$custom: #a478ee;
$custom-light: #c2a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a478ee",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 262.373,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66734,
    "c": 0.17223,
    "h": 298.9
  },
  "luminance": 0.27499
}

Semantic roles & 50–950 ramp

primary
#A478EE
secondary
#E5F1D1
accent
#DA0C8D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A478EE

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

Preview Lab → · Contrast checker → · Palette generator →

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