#A579EF#A579EF

#A579EF is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.1% C 0.172 H 298.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A579EF
RGBrgb(165, 121, 239)
HSLhsl(262, 79%, 71%)
HSVhsv(262, 49%, 94%)
CMYKcmyk(31%, 49.4%, 0%, 6.3%)
CIE-LABlab(59.80, 41.38, -53.48)
CIE-LCHlch(59.80, 67.62, 307.73°)
OKLaboklab(67.05% 0.0832 -0.1507)
OKLCHoklch(67.05% 0.172 298.9)
XYZxyz(37.9307, 27.9057, 85.0326)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A579EF #C3EF79
analogous
#7988EF #A579EF #E079EF
triadic
#A579EF #EFA579 #79EFA5
tetradic
#A579EF #EF7988 #C3EF79 #79EFE0
square
#A579EF #EF7988 #C3EF79 #79EFE0
split-complementary
#A579EF #EFE079 #88EF79
monochromatic
#5F19D4 #8042E8 #A579EF #CAB0F6 #EDE4FC

Accessibility & contrast

On white

3.19
#A579EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#A579EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A579EF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A579EF#FFFFFF#000000##000000
##A579EF1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F3
Deuteranopia (green-blind)
#5C8FEC
Tritanopia (blue-blind)
#968FA9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a579ef;
/* rgb */ color: rgb(165, 121, 239);
/* oklch */ color: oklch(67.1% 0.172 298.9);
Tailwind
colors: {
  custom: {
    50: '#c3a1f5',
    500: '#a579ef',
    950: '#000000',
  },
}
SCSS
$custom: #a579ef;
$custom-light: #c3a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a579ef",
  "rgb": {
    "r": 165,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 262.373,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67051,
    "c": 0.17211,
    "h": 298.9
  },
  "luminance": 0.27906
}

Semantic roles & 50–950 ramp

primary
#A579EF
secondary
#E6F2D2
accent
#DB0B8D
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #A579EF

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

Preview Lab → · Contrast checker → · Palette generator →

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