#A478CE#A478CE

#A478CE is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.0% C 0.132 H 306.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A478CE
RGBrgb(164, 120, 206)
HSLhsl(271, 47%, 64%)
HSVhsv(271, 42%, 81%)
CMYKcmyk(20.4%, 41.7%, 0%, 19.2%)
CIE-LABlab(57.83, 33.77, -38.13)
CIE-LCHlch(57.83, 50.94, 311.53°)
OKLaboklab(65.01% 0.0789 -0.106)
OKLCHoklch(65.01% 0.132 306.6)
XYZxyz(33.1647, 25.7820, 61.6098)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478CE #A2CE78
analogous
#7978CE #A478CE #CE78CD
triadic
#A478CE #CEA478 #78CEA4
tetradic
#A478CE #CE7978 #A2CE78 #78CDCE
square
#A478CE #CE7978 #A2CE78 #78CDCE
split-complementary
#A478CE #CDCE78 #78CE79
monochromatic
#673695 #864BBE #A478CE #C2A5DE #E1D2EF

Accessibility & contrast

On white

3.41
#A478CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#A478CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478CE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478CE#FFFFFF#000000##000000
##A478CE1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6489D1
Deuteranopia (green-blind)
#6E8BCC
Tritanopia (blue-blind)
#9E8699
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a478ce;
/* rgb */ color: rgb(164, 120, 206);
/* oklch */ color: oklch(65.0% 0.132 306.6);
Tailwind
colors: {
  custom: {
    50: '#c09fdd',
    500: '#a478ce',
    950: '#000000',
  },
}
SCSS
$custom: #a478ce;
$custom-light: #c09fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#a478ce",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 270.698,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65011,
    "c": 0.13213,
    "h": 306.6
  },
  "luminance": 0.25782
}

Semantic roles & 50–950 ramp

primary
#A478CE
secondary
#D1E0C2
accent
#BA2C71
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A478CE

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

Preview Lab → · Contrast checker → · Palette generator →

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