#A478F5#A478F5

#A478F5 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.1% C 0.181 H 297.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A478F5
RGBrgb(164, 120, 245)
HSLhsl(261, 86%, 72%)
HSVhsv(261, 51%, 96%)
CMYKcmyk(33.1%, 51%, 0%, 3.9%)
CIE-LABlab(59.81, 43.18, -56.79)
CIE-LCHlch(59.81, 71.34, 307.24°)
OKLaboklab(67.14% 0.0837 -0.1604)
OKLCHoklch(67.14% 0.181 297.6)
XYZxyz(38.5037, 27.9176, 89.7286)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478F5 #C9F578
analogous
#788BF5 #A478F5 #E378F5
triadic
#A478F5 #F5A478 #78F5A4
tetradic
#A478F5 #F5788B #C9F578 #78F5E3
square
#A478F5 #F5788B #C9F578 #78F5E3
split-complementary
#A478F5 #F5E378 #8BF578
monochromatic
#5A11E2 #7E3FF1 #A478F5 #CAB1F9 #ECE3FD

Accessibility & contrast

On white

3.19
#A478F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#A478F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478F5
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478F5#FFFFFF#000000##000000
##A478F51.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4990F9
Deuteranopia (green-blind)
#558FF2
Tritanopia (blue-blind)
#9290AB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a478f5;
/* rgb */ color: rgb(164, 120, 245);
/* oklch */ color: oklch(67.1% 0.181 297.6);
Tailwind
colors: {
  custom: {
    50: '#c3a0f9',
    500: '#a478f5',
    950: '#000000',
  },
}
SCSS
$custom: #a478f5;
$custom-light: #c3a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a478f5",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 261.12,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67142,
    "c": 0.18092,
    "h": 297.6
  },
  "luminance": 0.27918
}

Semantic roles & 50–950 ramp

primary
#A478F5
secondary
#E9F4D4
accent
#E30394
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A478F5

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

Preview Lab → · Contrast checker → · Palette generator →

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