#A478CA#A478CA

#A478CA is a light, vivid violet. Relative luminance 0.256; OKLCH L 64.8% C 0.127 H 307.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A478CA
RGBrgb(164, 120, 202)
HSLhsl(272, 44%, 63%)
HSVhsv(272, 41%, 79%)
CMYKcmyk(18.8%, 40.6%, 0%, 20.8%)
CIE-LABlab(57.65, 32.86, -36.15)
CIE-LCHlch(57.65, 48.86, 312.27°)
OKLaboklab(64.81% 0.0781 -0.1003)
OKLCHoklch(64.81% 0.127 307.9)
XYZxyz(32.6849, 25.5901, 59.0832)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478CA #9ECA78
analogous
#7B78CA #A478CA #CA78C7
triadic
#A478CA #CAA478 #78CAA4
tetradic
#A478CA #CA7B78 #9ECA78 #78C7CA
square
#A478CA #CA7B78 #9ECA78 #78C7CA
split-complementary
#A478CA #C7CA78 #78CA7B
monochromatic
#67388F #864CB9 #A478CA #C2A4DB #DFD0ED

Accessibility & contrast

On white

3.43
#A478CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#A478CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478CA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478CA#FFFFFF#000000##000000
##A478CA1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CD
Deuteranopia (green-blind)
#708BC8
Tritanopia (blue-blind)
#9F8597
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a478ca;
/* rgb */ color: rgb(164, 120, 202);
/* oklch */ color: oklch(64.8% 0.127 307.9);
Tailwind
colors: {
  custom: {
    50: '#c09fda',
    500: '#a478ca',
    950: '#000000',
  },
}
SCSS
$custom: #a478ca;
$custom-light: #c09fda;
$custom-dark: #000000;
JSON
{
  "hex": "#a478ca",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 272.195,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64813,
    "c": 0.12714,
    "h": 307.9
  },
  "luminance": 0.2559
}

Semantic roles & 50–950 ramp

primary
#A478CA
secondary
#CEDEC0
accent
#B72F6E
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A478CA

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

Preview Lab → · Contrast checker → · Palette generator →

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