#A478DB#A478DB

#A478DB is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.7% C 0.148 H 303.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A478DB
RGBrgb(164, 120, 219)
HSLhsl(267, 58%, 66%)
HSVhsv(267, 45%, 86%)
CMYKcmyk(25.1%, 45.2%, 0%, 14.1%)
CIE-LABlab(58.45, 36.82, -44.47)
CIE-LCHlch(58.45, 57.73, 309.62°)
OKLaboklab(65.68% 0.081 -0.1244)
OKLCHoklch(65.68% 0.148 303.1)
XYZxyz(34.8097, 26.4400, 70.2737)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478DB #AFDB78
analogous
#787EDB #A478DB #D678DB
triadic
#A478DB #DBA478 #78DBA4
tetradic
#A478DB #DB787E #AFDB78 #78DBD6
square
#A478DB #DB787E #AFDB78 #78DBD6
split-complementary
#A478DB #DBD678 #7EDB78
monochromatic
#652EAB #8348CE #A478DB #C5A8E8 #E5D9F5

Accessibility & contrast

On white

3.34
#A478DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#A478DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478DB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478DB#FFFFFF#000000##000000
##A478DB1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8CDF
Deuteranopia (green-blind)
#678CD8
Tritanopia (blue-blind)
#9A899F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a478db;
/* rgb */ color: rgb(164, 120, 219);
/* oklch */ color: oklch(65.7% 0.148 303.1);
Tailwind
colors: {
  custom: {
    50: '#c1a0e6',
    500: '#a478db',
    950: '#000000',
  },
}
SCSS
$custom: #a478db;
$custom-light: #c1a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a478db",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 266.667,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65683,
    "c": 0.14843,
    "h": 303.1
  },
  "luminance": 0.2644
}

Semantic roles & 50–950 ramp

primary
#A478DB
secondary
#D9E7C7
accent
#C5207C
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120F16
muted
#817E84

Preview Lab

Preview with #A478DB

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

Preview Lab → · Contrast checker → · Palette generator →

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