#A478BC#A478BC

#A478BC is a light, moderate violet. Relative luminance 0.250; OKLCH L 64.1% C 0.110 H 313.1°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A478BC
RGBrgb(164, 120, 188)
HSLhsl(279, 34%, 60%)
HSVhsv(279, 36%, 74%)
CMYKcmyk(12.8%, 36.2%, 0%, 26.3%)
CIE-LABlab(57.03, 29.75, -29.14)
CIE-LCHlch(57.03, 41.65, 315.59°)
OKLaboklab(64.15% 0.0751 -0.0802)
OKLCHoklch(64.15% 0.11 313.1)
XYZxyz(31.1019, 24.9568, 50.7459)
Luminance0.2496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478BC #90BC78
analogous
#8278BC #A478BC #BC78B2
triadic
#A478BC #BCA478 #78BCA4
tetradic
#A478BC #BC8278 #90BC78 #78B2BC
square
#A478BC #BC8278 #90BC78 #78B2BC
split-complementary
#A478BC #B2BC78 #78BC82
monochromatic
#663E7C #8852A5 #A478BC #C0A1D0 #DBCAE5

Accessibility & contrast

On white

3.51
#A478BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#A478BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478BC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478BC#FFFFFF#000000##000000
##A478BC1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C86BF
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#A28191
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a478bc;
/* rgb */ color: rgb(164, 120, 188);
/* oklch */ color: oklch(64.1% 0.110 313.1);
Tailwind
colors: {
  custom: {
    50: '#c09fd0',
    500: '#a478bc',
    950: '#000000',
  },
}
SCSS
$custom: #a478bc;
$custom-light: #c09fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a478bc",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 278.824,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64148,
    "c": 0.10985,
    "h": 313.1
  },
  "luminance": 0.24956
}

Semantic roles & 50–950 ramp

primary
#A478BC
secondary
#C4D5BB
accent
#AC3962
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A478BC

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

Preview Lab → · Contrast checker → · Palette generator →

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