#A478E7#A478E7

#A478E7 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.3% C 0.163 H 300.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A478E7
RGBrgb(164, 120, 231)
HSLhsl(264, 70%, 69%)
HSVhsv(264, 48%, 91%)
CMYKcmyk(29%, 48.1%, 0%, 9.4%)
CIE-LABlab(59.06, 39.71, -50.22)
CIE-LCHlch(59.06, 64.02, 308.34°)
OKLaboklab(66.34% 0.0825 -0.1412)
OKLCHoklch(66.34% 0.163 300.3)
XYZxyz(36.4468, 27.0948, 78.8955)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478E7 #BBE778
analogous
#7884E7 #A478E7 #DC78E7
triadic
#A478E7 #E7A478 #78E7A4
tetradic
#A478E7 #E77884 #BBE778 #78E7DC
square
#A478E7 #E77884 #BBE778 #78E7DC
split-complementary
#A478E7 #E7DC78 #84E778
monochromatic
#6223C2 #8144DE #A478E7 #C7ACF0 #EAE0F9

Accessibility & contrast

On white

3.27
#A478E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A478E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478E7
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478E7#FFFFFF#000000##000000
##A478E71.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#558EEB
Deuteranopia (green-blind)
#608DE4
Tritanopia (blue-blind)
#978CA5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a478e7;
/* rgb */ color: rgb(164, 120, 231);
/* oklch */ color: oklch(66.3% 0.163 300.3);
Tailwind
colors: {
  custom: {
    50: '#c2a0ef',
    500: '#a478e7',
    950: '#000000',
  },
}
SCSS
$custom: #a478e7;
$custom-light: #c2a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a478e7",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 263.784,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66338,
    "c": 0.16349,
    "h": 300.3
  },
  "luminance": 0.27095
}

Semantic roles & 50–950 ramp

primary
#A478E7
secondary
#E1EECD
accent
#D21486
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #A478E7

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

Preview Lab → · Contrast checker → · Palette generator →

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