#A478BD#A478BD

#A478BD is a light, moderate violet. Relative luminance 0.250; OKLCH L 64.2% C 0.111 H 312.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A478BD
RGBrgb(164, 120, 189)
HSLhsl(278, 34%, 61%)
HSVhsv(278, 37%, 74%)
CMYKcmyk(13.2%, 36.5%, 0%, 25.9%)
CIE-LABlab(57.08, 29.97, -29.65)
CIE-LCHlch(57.08, 42.16, 315.31°)
OKLaboklab(64.19% 0.0753 -0.0816)
OKLCHoklch(64.19% 0.111 312.7)
XYZxyz(31.2101, 25.0001, 51.3156)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478BD #91BD78
analogous
#8178BD #A478BD #BD78B3
triadic
#A478BD #BDA478 #78BDA4
tetradic
#A478BD #BD8178 #91BD78 #78B3BD
square
#A478BD #BD8178 #91BD78 #78B3BD
split-complementary
#A478BD #B3BD78 #78BD81
monochromatic
#663D7D #8851A6 #A478BD #C0A1D1 #DBCAE5

Accessibility & contrast

On white

3.50
#A478BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#A478BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478BD
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478BD#FFFFFF#000000##000000
##A478BD1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C87C0
Deuteranopia (green-blind)
#768ABB
Tritanopia (blue-blind)
#A28192
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a478bd;
/* rgb */ color: rgb(164, 120, 189);
/* oklch */ color: oklch(64.2% 0.111 312.7);
Tailwind
colors: {
  custom: {
    50: '#c09fd1',
    500: '#a478bd',
    950: '#000000',
  },
}
SCSS
$custom: #a478bd;
$custom-light: #c09fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a478bd",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 278.261,
    "s": 34.328,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64194,
    "c": 0.11107,
    "h": 312.7
  },
  "luminance": 0.25
}

Semantic roles & 50–950 ramp

primary
#A478BD
secondary
#C5D6BB
accent
#AD3863
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A478BD

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

Preview Lab → · Contrast checker → · Palette generator →

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