#A478CB#A478CB

#A478CB is a light, vivid violet. Relative luminance 0.256; OKLCH L 64.9% C 0.128 H 307.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A478CB
RGBrgb(164, 120, 203)
HSLhsl(272, 44%, 63%)
HSVhsv(272, 41%, 80%)
CMYKcmyk(19.2%, 40.9%, 0%, 20.4%)
CIE-LABlab(57.69, 33.09, -36.65)
CIE-LCHlch(57.69, 49.38, 312.08°)
OKLaboklab(64.86% 0.0783 -0.1017)
OKLCHoklch(64.86% 0.128 307.6)
XYZxyz(32.8037, 25.6376, 59.7088)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478CB #9FCB78
analogous
#7A78CB #A478CB #CB78C8
triadic
#A478CB #CBA478 #78CBA4
tetradic
#A478CB #CB7A78 #9FCB78 #78C8CB
square
#A478CB #CB7A78 #9FCB78 #78C8CB
split-complementary
#A478CB #C8CB78 #78CB7A
monochromatic
#673891 #864CBA #A478CB #C2A4DC #E0D0ED

Accessibility & contrast

On white

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

On black

6.13
#A478CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478CB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478CB#FFFFFF#000000##000000
##A478CB1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CE
Deuteranopia (green-blind)
#708BC9
Tritanopia (blue-blind)
#9F8598
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a478cb;
/* rgb */ color: rgb(164, 120, 203);
/* oklch */ color: oklch(64.9% 0.128 307.6);
Tailwind
colors: {
  custom: {
    50: '#c09fdb',
    500: '#a478cb',
    950: '#000000',
  },
}
SCSS
$custom: #a478cb;
$custom-light: #c09fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a478cb",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 271.807,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64862,
    "c": 0.12838,
    "h": 307.6
  },
  "luminance": 0.25637
}

Semantic roles & 50–950 ramp

primary
#A478CB
secondary
#CFDEC1
accent
#B82E6F
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A478CB

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

Preview Lab → · Contrast checker → · Palette generator →

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