#A478F7#A478F7

#A478F7 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.3% C 0.183 H 297.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A478F7
RGBrgb(164, 120, 247)
HSLhsl(261, 89%, 72%)
HSVhsv(261, 51%, 97%)
CMYKcmyk(33.6%, 51.4%, 0%, 3.1%)
CIE-LABlab(59.93, 43.68, -57.72)
CIE-LCHlch(59.93, 72.39, 307.12°)
OKLaboklab(67.26% 0.0838 -0.1631)
OKLCHoklch(67.26% 0.183 297.2)
XYZxyz(38.8106, 28.0403, 91.3452)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478F7 #CBF778
analogous
#788CF7 #A478F7 #E378F7
triadic
#A478F7 #F7A478 #78F7A4
tetradic
#A478F7 #F7788C #CBF778 #78F7E3
square
#A478F7 #F7788C #CBF778 #78F7E3
split-complementary
#A478F7 #F7E378 #8CF778
monochromatic
#590EE7 #7D3EF4 #A478F7 #CBB2FA #ECE2FD

Accessibility & contrast

On white

3.18
#A478F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#A478F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478F7
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478F7#FFFFFF#000000##000000
##A478F71.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FB
Deuteranopia (green-blind)
#538FF4
Tritanopia (blue-blind)
#9291AC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a478f7;
/* rgb */ color: rgb(164, 120, 247);
/* oklch */ color: oklch(67.3% 0.183 297.2);
Tailwind
colors: {
  custom: {
    50: '#c3a0fa',
    500: '#a478f7',
    950: '#000000',
  },
}
SCSS
$custom: #a478f7;
$custom-light: #c3a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a478f7",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 260.787,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6726,
    "c": 0.1834,
    "h": 297.2
  },
  "luminance": 0.28041
}

Semantic roles & 50–950 ramp

primary
#A478F7
secondary
#EAF5D5
accent
#E50096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A478F7

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

Preview Lab → · Contrast checker → · Palette generator →

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