#A478DD#A478DD

#A478DD is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.8% C 0.151 H 302.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A478DD
RGBrgb(164, 120, 221)
HSLhsl(266, 60%, 67%)
HSVhsv(266, 46%, 87%)
CMYKcmyk(25.8%, 45.7%, 0%, 13.3%)
CIE-LABlab(58.55, 37.29, -45.44)
CIE-LCHlch(58.55, 58.78, 309.38°)
OKLaboklab(65.79% 0.0812 -0.1272)
OKLCHoklch(65.79% 0.151 302.6)
XYZxyz(35.0746, 26.5459, 71.6686)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478DD #B1DD78
analogous
#787FDD #A478DD #D778DD
triadic
#A478DD #DDA478 #78DDA4
tetradic
#A478DD #DD787F #B1DD78 #78DDD7
square
#A478DD #DD787F #B1DD78 #78DDD7
split-complementary
#A478DD #DDD778 #7FDD78
monochromatic
#652CAF #8347D1 #A478DD #C5A9E9 #E6DAF6

Accessibility & contrast

On white

3.33
#A478DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#A478DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478DD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478DD#FFFFFF#000000##000000
##A478DD1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8CE1
Deuteranopia (green-blind)
#668DDA
Tritanopia (blue-blind)
#9A8AA0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a478dd;
/* rgb */ color: rgb(164, 120, 221);
/* oklch */ color: oklch(65.8% 0.151 302.6);
Tailwind
colors: {
  custom: {
    50: '#c1a0e8',
    500: '#a478dd',
    950: '#000000',
  },
}
SCSS
$custom: #a478dd;
$custom-light: #c1a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a478dd",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 266.139,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6579,
    "c": 0.15095,
    "h": 302.6
  },
  "luminance": 0.26546
}

Semantic roles & 50–950 ramp

primary
#A478DD
secondary
#DAE9C8
accent
#C71E7E
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120F16
muted
#817E84

Preview Lab

Preview with #A478DD

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

Preview Lab → · Contrast checker → · Palette generator →

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