#A478FA#A478FA

#A478FA is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.4% C 0.187 H 296.7°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A478FA
RGBrgb(164, 120, 250)
HSLhsl(260, 93%, 73%)
HSVhsv(260, 52%, 98%)
CMYKcmyk(34.4%, 52%, 0%, 2%)
CIE-LABlab(60.09, 44.44, -59.11)
CIE-LCHlch(60.09, 73.95, 306.93°)
OKLaboklab(67.44% 0.084 -0.1672)
OKLCHoklch(67.44% 0.187 296.7)
XYZxyz(39.2773, 28.2270, 93.8030)
Luminance0.2823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478FA #CEFA78
analogous
#788DFA #A478FA #E578FA
triadic
#A478FA #FAA478 #78FAA4
tetradic
#A478FA #FA788D #CEFA78 #78FAE5
square
#A478FA #FA788D #CEFA78 #78FAE5
split-complementary
#A478FA #FAE578 #8DFA78
monochromatic
#5709EF #7C3DF8 #A478FA #CCB3FC #EBE1FE

Accessibility & contrast

On white

3.16
#A478FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#A478FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478FA
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478FA#FFFFFF#000000##000000
##A478FA1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FE
Deuteranopia (green-blind)
#508FF7
Tritanopia (blue-blind)
#9092AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a478fa;
/* rgb */ color: rgb(164, 120, 250);
/* oklch */ color: oklch(67.4% 0.187 296.7);
Tailwind
colors: {
  custom: {
    50: '#c3a0fd',
    500: '#a478fa',
    950: '#000000',
  },
}
SCSS
$custom: #a478fa;
$custom-light: #c3a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a478fa",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 260.308,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67439,
    "c": 0.1871,
    "h": 296.7
  },
  "luminance": 0.28228
}

Semantic roles & 50–950 ramp

primary
#A478FA
secondary
#EBF6D5
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A478FA

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

Preview Lab → · Contrast checker → · Palette generator →

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