#A478CF#A478CF

#A478CF is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.1% C 0.133 H 306.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A478CF
RGBrgb(164, 120, 207)
HSLhsl(270, 48%, 64%)
HSVhsv(270, 42%, 81%)
CMYKcmyk(20.8%, 42%, 0%, 18.8%)
CIE-LABlab(57.88, 34.00, -38.62)
CIE-LCHlch(57.88, 51.46, 311.36°)
OKLaboklab(65.06% 0.079 -0.1074)
OKLCHoklch(65.06% 0.133 306.3)
XYZxyz(33.2865, 25.8307, 62.2516)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478CF #A3CF78
analogous
#7978CF #A478CF #CF78CF
triadic
#A478CF #CFA478 #78CFA4
tetradic
#A478CF #CF7978 #A3CF78 #78CFCF
square
#A478CF #CF7978 #A3CF78 #78CFCF
split-complementary
#A478CF #CFCF78 #78CF79
monochromatic
#673697 #864BBF #A478CF #C2A5DF #E1D2EF

Accessibility & contrast

On white

3.41
#A478CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A478CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478CF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478CF#FFFFFF#000000##000000
##A478CF1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6489D2
Deuteranopia (green-blind)
#6E8BCD
Tritanopia (blue-blind)
#9E869A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a478cf;
/* rgb */ color: rgb(164, 120, 207);
/* oklch */ color: oklch(65.1% 0.133 306.3);
Tailwind
colors: {
  custom: {
    50: '#c09fde',
    500: '#a478cf',
    950: '#000000',
  },
}
SCSS
$custom: #a478cf;
$custom-light: #c09fde;
$custom-dark: #000000;
JSON
{
  "hex": "#a478cf",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 270.345,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65061,
    "c": 0.13338,
    "h": 306.3
  },
  "luminance": 0.2583
}

Semantic roles & 50–950 ramp

primary
#A478CF
secondary
#D1E1C2
accent
#BB2B72
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A478CF

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

Preview Lab → · Contrast checker → · Palette generator →

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