#A478CD#A478CD

#A478CD is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.0% C 0.131 H 306.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A478CD
RGBrgb(164, 120, 205)
HSLhsl(271, 46%, 64%)
HSVhsv(271, 41%, 80%)
CMYKcmyk(20%, 41.5%, 0%, 19.6%)
CIE-LABlab(57.78, 33.55, -37.64)
CIE-LCHlch(57.78, 50.42, 311.71°)
OKLaboklab(64.96% 0.0787 -0.1046)
OKLCHoklch(64.96% 0.131 306.9)
XYZxyz(33.0436, 25.7335, 60.9721)
Luminance0.2573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478CD #A1CD78
analogous
#7978CD #A478CD #CD78CB
triadic
#A478CD #CDA478 #78CDA4
tetradic
#A478CD #CD7978 #A1CD78 #78CBCD
square
#A478CD #CD7978 #A1CD78 #78CBCD
split-complementary
#A478CD #CBCD78 #78CD79
monochromatic
#673794 #864BBC #A478CD #C2A5DE #E0D1EE

Accessibility & contrast

On white

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

On black

6.15
#A478CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478CD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478CD#FFFFFF#000000##000000
##A478CD1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6589D0
Deuteranopia (green-blind)
#6F8BCB
Tritanopia (blue-blind)
#9E8599
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a478cd;
/* rgb */ color: rgb(164, 120, 205);
/* oklch */ color: oklch(65.0% 0.131 306.9);
Tailwind
colors: {
  custom: {
    50: '#c09fdc',
    500: '#a478cd',
    950: '#000000',
  },
}
SCSS
$custom: #a478cd;
$custom-light: #c09fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a478cd",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 271.059,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64961,
    "c": 0.13088,
    "h": 306.9
  },
  "luminance": 0.25733
}

Semantic roles & 50–950 ramp

primary
#A478CD
secondary
#D0DFC1
accent
#B92C70
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A478CD

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

Preview Lab → · Contrast checker → · Palette generator →

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