#A579F6#A579F6

#A579F6 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.5% C 0.181 H 297.6°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A579F6
RGBrgb(165, 121, 246)
HSLhsl(261, 87%, 72%)
HSVhsv(261, 51%, 96%)
CMYKcmyk(32.9%, 50.8%, 0%, 3.5%)
CIE-LABlab(60.18, 43.12, -56.75)
CIE-LCHlch(60.18, 71.28, 307.23°)
OKLaboklab(67.46% 0.0838 -0.1602)
OKLCHoklch(67.46% 0.181 297.6)
XYZxyz(38.9849, 28.3274, 90.5847)
Luminance0.2833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A579F6 #CAF679
analogous
#798CF6 #A579F6 #E479F6
triadic
#A579F6 #F6A579 #79F6A5
tetradic
#A579F6 #F6798C #CAF679 #79F6E4
square
#A579F6 #F6798C #CAF679 #79F6E4
split-complementary
#A579F6 #F6E479 #8CF679
monochromatic
#5B0FE5 #7E40F2 #A579F6 #CCB2FA #ECE2FD

Accessibility & contrast

On white

3.15
#A579F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#A579F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A579F6
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A579F6#FFFFFF#000000##000000
##A579F61.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91FA
Deuteranopia (green-blind)
#5690F3
Tritanopia (blue-blind)
#9391AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a579f6;
/* rgb */ color: rgb(165, 121, 246);
/* oklch */ color: oklch(67.5% 0.181 297.6);
Tailwind
colors: {
  custom: {
    50: '#c3a1fa',
    500: '#a579f6',
    950: '#000000',
  },
}
SCSS
$custom: #a579f6;
$custom-light: #c3a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a579f6",
  "rgb": {
    "r": 165,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 261.12,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67457,
    "c": 0.18081,
    "h": 297.6
  },
  "luminance": 0.28328
}

Semantic roles & 50–950 ramp

primary
#A579F6
secondary
#EAF5D6
accent
#E40294
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A579F6

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

Preview Lab → · Contrast checker → · Palette generator →

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