#A579EA#A579EA

#A579EA is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.8% C 0.166 H 299.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A579EA
RGBrgb(165, 121, 234)
HSLhsl(263, 73%, 70%)
HSVhsv(263, 48%, 92%)
CMYKcmyk(29.5%, 48.3%, 0%, 8.2%)
CIE-LABlab(59.54, 40.15, -51.13)
CIE-LCHlch(59.54, 65.01, 308.14°)
OKLaboklab(66.77% 0.0827 -0.1438)
OKLCHoklch(66.77% 0.166 299.9)
XYZxyz(37.2022, 27.6144, 81.1961)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A579EA #BEEA79
analogous
#7986EA #A579EA #DE79EA
triadic
#A579EA #EAA579 #79EAA5
tetradic
#A579EA #EA7986 #BEEA79 #79EADE
square
#A579EA #EA7986 #BEEA79 #79EADE
split-complementary
#A579EA #EADE79 #86EA79
monochromatic
#6220C9 #8144E2 #A579EA #C9AEF2 #ECE3FB

Accessibility & contrast

On white

3.22
#A579EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A579EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A579EA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A579EA#FFFFFF#000000##000000
##A579EA1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#5F8FE7
Tritanopia (blue-blind)
#978EA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a579ea;
/* rgb */ color: rgb(165, 121, 234);
/* oklch */ color: oklch(66.8% 0.166 299.9);
Tailwind
colors: {
  custom: {
    50: '#c2a0f1',
    500: '#a579ea',
    950: '#000000',
  },
}
SCSS
$custom: #a579ea;
$custom-light: #c2a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a579ea",
  "rgb": {
    "r": 165,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 263.363,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66767,
    "c": 0.16586,
    "h": 299.9
  },
  "luminance": 0.27615
}

Semantic roles & 50–950 ramp

primary
#A579EA
secondary
#E3F0CF
accent
#D51188
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A579EA

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

Preview Lab → · Contrast checker → · Palette generator →

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