#A478DF#A478DF

#A478DF is a light, vivid violet. Relative luminance 0.267; OKLCH L 65.9% C 0.153 H 302.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A478DF
RGBrgb(164, 120, 223)
HSLhsl(266, 62%, 67%)
HSVhsv(266, 46%, 87%)
CMYKcmyk(26.5%, 46.2%, 0%, 12.5%)
CIE-LABlab(58.65, 37.77, -46.40)
CIE-LCHlch(58.65, 59.83, 309.15°)
OKLaboklab(65.9% 0.0815 -0.13)
OKLCHoklch(65.9% 0.153 302.1)
XYZxyz(35.3426, 26.6531, 73.0803)
Luminance0.2665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478DF #B3DF78
analogous
#7880DF #A478DF #D878DF
triadic
#A478DF #DFA478 #78DFA4
tetradic
#A478DF #DF7880 #B3DF78 #78DFD8
square
#A478DF #DF7880 #B3DF78 #78DFD8
split-complementary
#A478DF #DFD878 #80DF78
monochromatic
#642AB2 #8347D3 #A478DF #C5A9EB #E7DBF6

Accessibility & contrast

On white

3.32
#A478DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#A478DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478DF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478DF#FFFFFF#000000##000000
##A478DF1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE3
Deuteranopia (green-blind)
#658DDC
Tritanopia (blue-blind)
#998AA1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a478df;
/* rgb */ color: rgb(164, 120, 223);
/* oklch */ color: oklch(65.9% 0.153 302.1);
Tailwind
colors: {
  custom: {
    50: '#c1a0e9',
    500: '#a478df',
    950: '#000000',
  },
}
SCSS
$custom: #a478df;
$custom-light: #c1a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a478df",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 265.631,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65898,
    "c": 0.15346,
    "h": 302.1
  },
  "luminance": 0.26653
}

Semantic roles & 50–950 ramp

primary
#A478DF
secondary
#DCEAC9
accent
#C91C7F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #A478DF

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

Preview Lab → · Contrast checker → · Palette generator →

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