#A579F4#A579F4

#A579F4 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.3% C 0.178 H 298.0°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A579F4
RGBrgb(165, 121, 244)
HSLhsl(261, 85%, 72%)
HSVhsv(261, 50%, 96%)
CMYKcmyk(32.4%, 50.4%, 0%, 4.3%)
CIE-LABlab(60.07, 42.62, -55.82)
CIE-LCHlch(60.07, 70.23, 307.36°)
OKLaboklab(67.34% 0.0836 -0.1575)
OKLCHoklch(67.34% 0.178 298)
XYZxyz(38.6796, 28.2053, 88.9768)
Luminance0.2821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A579F4 #C8F479
analogous
#798BF4 #A579F4 #E279F4
triadic
#A579F4 #F4A579 #79F4A5
tetradic
#A579F4 #F4798B #C8F479 #79F4E2
square
#A579F4 #F4798B #C8F479 #79F4E2
split-complementary
#A579F4 #F4E279 #8BF479
monochromatic
#5C12E0 #7F40EF #A579F4 #CBB2F9 #ECE3FD

Accessibility & contrast

On white

3.16
#A579F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#A579F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A579F4
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A579F4#FFFFFF#000000##000000
##A579F41.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F8
Deuteranopia (green-blind)
#5890F1
Tritanopia (blue-blind)
#9491AB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a579f4;
/* rgb */ color: rgb(165, 121, 244);
/* oklch */ color: oklch(67.3% 0.178 298.0);
Tailwind
colors: {
  custom: {
    50: '#c3a1f8',
    500: '#a579f4',
    950: '#000000',
  },
}
SCSS
$custom: #a579f4;
$custom-light: #c3a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a579f4",
  "rgb": {
    "r": 165,
    "g": 121,
    "b": 244
  },
  "hsl": {
    "h": 261.463,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6734,
    "c": 0.17832,
    "h": 298
  },
  "luminance": 0.28206
}

Semantic roles & 50–950 ramp

primary
#A579F4
secondary
#E9F4D5
accent
#E10492
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A579F4

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

Preview Lab → · Contrast checker → · Palette generator →

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