#A579F2#A579F2

#A579F2 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.2% C 0.176 H 298.3°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A579F2
RGBrgb(165, 121, 242)
HSLhsl(262, 82%, 71%)
HSVhsv(262, 50%, 95%)
CMYKcmyk(31.8%, 50%, 0%, 5.1%)
CIE-LABlab(59.97, 42.12, -54.89)
CIE-LCHlch(59.97, 69.19, 307.50°)
OKLaboklab(67.22% 0.0834 -0.1548)
OKLCHoklch(67.22% 0.176 298.3)
XYZxyz(38.3776, 28.0845, 87.3861)
Luminance0.2808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A579F2 #C6F279
analogous
#7989F2 #A579F2 #E179F2
triadic
#A579F2 #F2A579 #79F2A5
tetradic
#A579F2 #F27989 #C6F279 #79F2E1
square
#A579F2 #F27989 #C6F279 #79F2E1
split-complementary
#A579F2 #F2E179 #89F279
monochromatic
#5D15DB #8041ED #A579F2 #CAB1F7 #ECE3FC

Accessibility & contrast

On white

3.17
#A579F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#A579F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A579F2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A579F2#FFFFFF#000000##000000
##A579F21.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E91F6
Deuteranopia (green-blind)
#598FEF
Tritanopia (blue-blind)
#9590AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a579f2;
/* rgb */ color: rgb(165, 121, 242);
/* oklch */ color: oklch(67.2% 0.176 298.3);
Tailwind
colors: {
  custom: {
    50: '#c3a1f7',
    500: '#a579f2',
    950: '#000000',
  },
}
SCSS
$custom: #a579f2;
$custom-light: #c3a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a579f2",
  "rgb": {
    "r": 165,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 261.818,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67223,
    "c": 0.17584,
    "h": 298.3
  },
  "luminance": 0.28085
}

Semantic roles & 50–950 ramp

primary
#A579F2
secondary
#E8F3D3
accent
#DF0790
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A579F2

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

Preview Lab → · Contrast checker → · Palette generator →

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