#A478FF#A478FF

#A478FF is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.193 H 295.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A478FF
RGBrgb(164, 120, 255)
HSLhsl(260, 100%, 74%)
HSVhsv(260, 53%, 100%)
CMYKcmyk(35.7%, 52.9%, 0%, 0%)
CIE-LABlab(60.38, 45.70, -61.41)
CIE-LCHlch(60.38, 76.55, 306.66°)
OKLaboklab(67.74% 0.0843 -0.1739)
OKLCHoklch(67.74% 0.193 295.9)
XYZxyz(40.0717, 28.5448, 97.9868)
Luminance0.2854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478FF #D3FF78
analogous
#788FFF #A478FF #E878FF
triadic
#A478FF #FFA478 #78FFA4
tetradic
#A478FF #FF788F #D3FF78 #78FFE8
square
#A478FF #FF788F #D3FF78 #78FFE8
split-complementary
#A478FF #FFE878 #8FFF78
monochromatic
#5200FD #7B3BFF #A478FF #CDB5FF #EAE0FF

Accessibility & contrast

On white

3.13
#A478FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#A478FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478FF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478FF#FFFFFF#000000##000000
##A478FF1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#4B90FC
Tritanopia (blue-blind)
#8F93B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a478ff;
/* rgb */ color: rgb(164, 120, 255);
/* oklch */ color: oklch(67.7% 0.193 295.9);
Tailwind
colors: {
  custom: {
    50: '#c3a0ff',
    500: '#a478ff',
    950: '#000000',
  },
}
SCSS
$custom: #a478ff;
$custom-light: #c3a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a478ff",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 259.556,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67742,
    "c": 0.19326,
    "h": 295.9
  },
  "luminance": 0.28545
}

Semantic roles & 50–950 ramp

primary
#A478FF
secondary
#ECF7D4
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A478FF

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

Preview Lab → · Contrast checker → · Palette generator →

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