#A478BB#A478BB

#A478BB is a light, moderate violet. Relative luminance 0.249; OKLCH L 64.1% C 0.109 H 313.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A478BB
RGBrgb(164, 120, 187)
HSLhsl(279, 33%, 60%)
HSVhsv(279, 36%, 73%)
CMYKcmyk(12.3%, 35.8%, 0%, 26.7%)
CIE-LABlab(56.99, 29.54, -28.64)
CIE-LCHlch(56.99, 41.14, 315.88°)
OKLaboklab(64.1% 0.0748 -0.0787)
OKLCHoklch(64.1% 0.109 313.5)
XYZxyz(30.9945, 24.9139, 50.1802)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478BB #8FBB78
analogous
#8278BB #A478BB #BB78B0
triadic
#A478BB #BBA478 #78BBA4
tetradic
#A478BB #BB8278 #8FBB78 #78B0BB
square
#A478BB #BB8278 #8FBB78 #78B0BB
split-complementary
#A478BB #B0BB78 #78BB82
monochromatic
#663E7B #8852A3 #A478BB #BFA1D0 #DBC9E4

Accessibility & contrast

On white

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

On black

5.98
#A478BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478BB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478BB#FFFFFF#000000##000000
##A478BB1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a478bb;
/* rgb */ color: rgb(164, 120, 187);
/* oklch */ color: oklch(64.1% 0.109 313.5);
Tailwind
colors: {
  custom: {
    50: '#c09fcf',
    500: '#a478bb',
    950: '#000000',
  },
}
SCSS
$custom: #a478bb;
$custom-light: #c09fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a478bb",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 279.403,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64103,
    "c": 0.10864,
    "h": 313.5
  },
  "luminance": 0.24913
}

Semantic roles & 50–950 ramp

primary
#A478BB
secondary
#C3D4BB
accent
#AC3A61
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A478BB

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

Preview Lab → · Contrast checker → · Palette generator →

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