#A478F9#A478F9

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

Color values

HEX#A478F9
RGBrgb(164, 120, 249)
HSLhsl(260, 91%, 72%)
HSVhsv(260, 52%, 98%)
CMYKcmyk(34.1%, 51.8%, 0%, 2.4%)
CIE-LABlab(60.04, 44.18, -58.65)
CIE-LCHlch(60.04, 73.43, 306.99°)
OKLaboklab(67.38% 0.084 -0.1658)
OKLCHoklch(67.38% 0.186 296.9)
XYZxyz(39.1209, 28.1644, 92.9793)
Luminance0.2817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478F9 #CDF978
analogous
#788DF9 #A478F9 #E478F9
triadic
#A478F9 #F9A478 #78F9A4
tetradic
#A478F9 #F9788D #CDF978 #78F9E4
square
#A478F9 #F9788D #CDF978 #78F9E4
split-complementary
#A478F9 #F9E478 #8DF978
monochromatic
#570AEC #7D3DF6 #A478F9 #CBB3FC #EBE2FE

Accessibility & contrast

On white

3.17
#A478F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#A478F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478F9
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478F9#FFFFFF#000000##000000
##A478F91.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4591FD
Deuteranopia (green-blind)
#518FF6
Tritanopia (blue-blind)
#9192AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a478f9;
/* rgb */ color: rgb(164, 120, 249);
/* oklch */ color: oklch(67.4% 0.186 296.9);
Tailwind
colors: {
  custom: {
    50: '#c3a0fc',
    500: '#a478f9',
    950: '#000000',
  },
}
SCSS
$custom: #a478f9;
$custom-light: #c3a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a478f9",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 260.465,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67379,
    "c": 0.18587,
    "h": 296.9
  },
  "luminance": 0.28165
}

Semantic roles & 50–950 ramp

primary
#A478F9
secondary
#EBF6D5
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A478F9

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

Preview Lab → · Contrast checker → · Palette generator →

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