#A478FD#A478FD

#A478FD is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.6% C 0.191 H 296.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A478FD
RGBrgb(164, 120, 253)
HSLhsl(260, 97%, 73%)
HSVhsv(260, 53%, 99%)
CMYKcmyk(35.2%, 52.6%, 0%, 0.8%)
CIE-LABlab(60.26, 45.20, -60.49)
CIE-LCHlch(60.26, 75.51, 306.77°)
OKLaboklab(67.62% 0.0842 -0.1712)
OKLCHoklch(67.62% 0.191 296.2)
XYZxyz(39.7514, 28.4167, 96.3001)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478FD #D1FD78
analogous
#788EFD #A478FD #E778FD
triadic
#A478FD #FDA478 #78FDA4
tetradic
#A478FD #FD788E #D1FD78 #78FDE7
square
#A478FD #FD788E #D1FD78 #78FDE7
split-complementary
#A478FD #FDE778 #8EFD78
monochromatic
#5404F7 #7B3CFC #A478FD #CDB4FE #EBE1FF

Accessibility & contrast

On white

3.14
#A478FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#A478FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478FD
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478FD#FFFFFF#000000##000000
##A478FD1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#4D90FA
Tritanopia (blue-blind)
#8F93AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a478fd;
/* rgb */ color: rgb(164, 120, 253);
/* oklch */ color: oklch(67.6% 0.191 296.2);
Tailwind
colors: {
  custom: {
    50: '#c3a0ff',
    500: '#a478fd',
    950: '#000000',
  },
}
SCSS
$custom: #a478fd;
$custom-light: #c3a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a478fd",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 259.85,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6762,
    "c": 0.19079,
    "h": 296.2
  },
  "luminance": 0.28417
}

Semantic roles & 50–950 ramp

primary
#A478FD
secondary
#EBF7D4
accent
#E6009A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A478FD

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

Preview Lab → · Contrast checker → · Palette generator →

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