#A579F8#A579F8

#A579F8 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.6% C 0.183 H 297.2°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A579F8
RGBrgb(165, 121, 248)
HSLhsl(261, 90%, 72%)
HSVhsv(261, 51%, 97%)
CMYKcmyk(33.5%, 51.2%, 0%, 2.7%)
CIE-LABlab(60.29, 43.62, -57.68)
CIE-LCHlch(60.29, 72.32, 307.10°)
OKLaboklab(67.57% 0.0839 -0.163)
OKLCHoklch(67.57% 0.183 297.2)
XYZxyz(39.2935, 28.4509, 92.2101)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A579F8 #CCF879
analogous
#798DF8 #A579F8 #E479F8
triadic
#A579F8 #F8A579 #79F8A5
tetradic
#A579F8 #F8798D #CCF879 #79F8E4
square
#A579F8 #F8798D #CCF879 #79F8E4
split-complementary
#A579F8 #F8E479 #8DF879
monochromatic
#590CEA #7E3FF5 #A579F8 #CCB3FB #EBE2FD

Accessibility & contrast

On white

3.14
#A579F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#A579F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A579F8
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A579F8#FFFFFF#000000##000000
##A579F81.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FC
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#9392AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a579f8;
/* rgb */ color: rgb(165, 121, 248);
/* oklch */ color: oklch(67.6% 0.183 297.2);
Tailwind
colors: {
  custom: {
    50: '#c3a1fb',
    500: '#a579f8',
    950: '#000000',
  },
}
SCSS
$custom: #a579f8;
$custom-light: #c3a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a579f8",
  "rgb": {
    "r": 165,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 260.787,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67574,
    "c": 0.18328,
    "h": 297.2
  },
  "luminance": 0.28451
}

Semantic roles & 50–950 ramp

primary
#A579F8
secondary
#EAF6D5
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A579F8

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

Preview Lab → · Contrast checker → · Palette generator →

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