#A478CC#A478CC

#A478CC is a light, vivid violet. Relative luminance 0.257; OKLCH L 64.9% C 0.130 H 307.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A478CC
RGBrgb(164, 120, 204)
HSLhsl(271, 45%, 64%)
HSVhsv(271, 41%, 80%)
CMYKcmyk(19.6%, 41.2%, 0%, 20%)
CIE-LABlab(57.74, 33.32, -37.14)
CIE-LCHlch(57.74, 49.90, 311.89°)
OKLaboklab(64.91% 0.0785 -0.1032)
OKLCHoklch(64.91% 0.13 307.3)
XYZxyz(32.9233, 25.6854, 60.3384)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478CC #A0CC78
analogous
#7A78CC #A478CC #CC78CA
triadic
#A478CC #CCA478 #78CCA4
tetradic
#A478CC #CC7A78 #A0CC78 #78CACC
square
#A478CC #CC7A78 #A0CC78 #78CACC
split-complementary
#A478CC #CACC78 #78CC7A
monochromatic
#673792 #864CBB #A478CC #C2A4DD #E0D1EE

Accessibility & contrast

On white

3.42
#A478CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#A478CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478CC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478CC#FFFFFF#000000##000000
##A478CC1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6589CF
Deuteranopia (green-blind)
#6F8BCA
Tritanopia (blue-blind)
#9E8598
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a478cc;
/* rgb */ color: rgb(164, 120, 204);
/* oklch */ color: oklch(64.9% 0.130 307.3);
Tailwind
colors: {
  custom: {
    50: '#c09fdc',
    500: '#a478cc',
    950: '#000000',
  },
}
SCSS
$custom: #a478cc;
$custom-light: #c09fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a478cc",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 271.429,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64911,
    "c": 0.12963,
    "h": 307.3
  },
  "luminance": 0.25685
}

Semantic roles & 50–950 ramp

primary
#A478CC
secondary
#CFDFC1
accent
#B82D6F
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A478CC

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

Preview Lab → · Contrast checker → · Palette generator →

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