#A579EB#A579EB

#A579EB is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.8% C 0.167 H 299.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A579EB
RGBrgb(165, 121, 235)
HSLhsl(263, 74%, 70%)
HSVhsv(263, 49%, 92%)
CMYKcmyk(29.8%, 48.5%, 0%, 7.8%)
CIE-LABlab(59.59, 40.39, -51.60)
CIE-LCHlch(59.59, 65.53, 308.06°)
OKLaboklab(66.82% 0.0828 -0.1452)
OKLCHoklch(66.82% 0.167 299.7)
XYZxyz(37.3463, 27.6720, 81.9548)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A579EB #BFEB79
analogous
#7986EB #A579EB #DE79EB
triadic
#A579EB #EBA579 #79EBA5
tetradic
#A579EB #EB7986 #BFEB79 #79EBDE
square
#A579EB #EB7986 #BFEB79 #79EBDE
split-complementary
#A579EB #EBDE79 #86EB79
monochromatic
#611ECB #8144E3 #A579EB #C9AEF3 #EDE4FB

Accessibility & contrast

On white

3.21
#A579EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#A579EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A579EB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A579EB#FFFFFF#000000##000000
##A579EB1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEF
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#978EA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a579eb;
/* rgb */ color: rgb(165, 121, 235);
/* oklch */ color: oklch(66.8% 0.167 299.7);
Tailwind
colors: {
  custom: {
    50: '#c2a0f2',
    500: '#a579eb',
    950: '#000000',
  },
}
SCSS
$custom: #a579eb;
$custom-light: #c2a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a579eb",
  "rgb": {
    "r": 165,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 263.158,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66824,
    "c": 0.16711,
    "h": 299.7
  },
  "luminance": 0.27672
}

Semantic roles & 50–950 ramp

primary
#A579EB
secondary
#E4F0D0
accent
#D60F89
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A579EB

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

Preview Lab → · Contrast checker → · Palette generator →

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