#A579FB#A579FB

#A579FB is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.8% C 0.187 H 296.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A579FB
RGBrgb(165, 121, 251)
HSLhsl(260, 94%, 73%)
HSVhsv(260, 52%, 98%)
CMYKcmyk(34.3%, 51.8%, 0%, 1.6%)
CIE-LABlab(60.46, 44.38, -59.07)
CIE-LCHlch(60.46, 73.88, 306.92°)
OKLaboklab(67.75% 0.0841 -0.167)
OKLCHoklch(67.75% 0.187 296.7)
XYZxyz(39.7626, 28.6385, 94.6810)
Luminance0.2864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A579FB #CFFB79
analogous
#798EFB #A579FB #E679FB
triadic
#A579FB #FBA579 #79FBA5
tetradic
#A579FB #FB798E #CFFB79 #79FBE6
square
#A579FB #FB798E #CFFB79 #79FBE6
split-complementary
#A579FB #FBE679 #8EFB79
monochromatic
#5707F2 #7D3EF9 #A579FB #CDB4FD #EBE1FE

Accessibility & contrast

On white

3.12
#A579FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#A579FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A579FB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A579FB#FFFFFF#000000##000000
##A579FB1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FF
Deuteranopia (green-blind)
#5190F8
Tritanopia (blue-blind)
#9193AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a579fb;
/* rgb */ color: rgb(165, 121, 251);
/* oklch */ color: oklch(67.8% 0.187 296.7);
Tailwind
colors: {
  custom: {
    50: '#c4a1fd',
    500: '#a579fb',
    950: '#000000',
  },
}
SCSS
$custom: #a579fb;
$custom-light: #c4a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a579fb",
  "rgb": {
    "r": 165,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 260.308,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67753,
    "c": 0.18699,
    "h": 296.7
  },
  "luminance": 0.28639
}

Semantic roles & 50–950 ramp

primary
#A579FB
secondary
#EBF6D5
accent
#E60098
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A579FB

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

Preview Lab → · Contrast checker → · Palette generator →

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