#A779F2#A779F2

#A779F2 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.4% C 0.176 H 299.2°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A779F2
RGBrgb(167, 121, 242)
HSLhsl(263, 82%, 71%)
HSVhsv(263, 50%, 95%)
CMYKcmyk(31%, 50%, 0%, 5.1%)
CIE-LABlab(60.16, 42.63, -54.57)
CIE-LCHlch(60.16, 69.24, 308.00°)
OKLaboklab(67.41% 0.0859 -0.1538)
OKLCHoklch(67.41% 0.176 299.2)
XYZxyz(38.7969, 28.3007, 87.4058)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A779F2 #C4F279
analogous
#7987F2 #A779F2 #E379F2
triadic
#A779F2 #F2A779 #79F2A7
tetradic
#A779F2 #F27987 #C4F279 #79F2E3
square
#A779F2 #F27987 #C4F279 #79F2E3
split-complementary
#A779F2 #F2E379 #87F279
monochromatic
#6115DB #8241ED #A779F2 #CCB1F7 #EDE3FC

Accessibility & contrast

On white

3.15
#A779F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#A779F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A779F2
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A779F2#FFFFFF#000000##000000
##A779F21.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#5B90EF
Tritanopia (blue-blind)
#9890AA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a779f2;
/* rgb */ color: rgb(167, 121, 242);
/* oklch */ color: oklch(67.4% 0.176 299.2);
Tailwind
colors: {
  custom: {
    50: '#c4a1f7',
    500: '#a779f2',
    950: '#000000',
  },
}
SCSS
$custom: #a779f2;
$custom-light: #c4a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a779f2",
  "rgb": {
    "r": 167,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 262.81,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67414,
    "c": 0.17614,
    "h": 299.2
  },
  "luminance": 0.28301
}

Semantic roles & 50–950 ramp

primary
#A779F2
secondary
#E7F3D3
accent
#DF078D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A779F2

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

Preview Lab → · Contrast checker → · Palette generator →

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