#A778EF#A778EF

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

Color values

HEX#A778EF
RGBrgb(167, 120, 239)
HSLhsl(264, 79%, 70%)
HSVhsv(264, 50%, 94%)
CMYKcmyk(30.1%, 49.8%, 0%, 6.3%)
CIE-LABlab(59.78, 42.44, -53.51)
CIE-LCHlch(59.78, 68.30, 308.42°)
OKLaboklab(67.08% 0.0869 -0.1507)
OKLCHoklch(67.08% 0.174 300)
XYZxyz(38.2291, 27.8802, 85.0120)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778EF #C0EF78
analogous
#7885EF #A778EF #E278EF
triadic
#A778EF #EFA778 #78EFA7
tetradic
#A778EF #EF7885 #C0EF78 #78EFE2
square
#A778EF #EF7885 #C0EF78 #78EFE2
split-complementary
#A778EF #EFE278 #85EF78
monochromatic
#6319D4 #8341E9 #A778EF #CBAFF5 #EDE4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A778EF#FFFFFF#000000##000000
##A778EF1.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)
#5090F3
Deuteranopia (green-blind)
#5C8FEC
Tritanopia (blue-blind)
#998EA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a778ef;
/* rgb */ color: rgb(167, 120, 239);
/* oklch */ color: oklch(67.1% 0.174 300.0);
Tailwind
colors: {
  custom: {
    50: '#c4a0f5',
    500: '#a778ef',
    950: '#000000',
  },
}
SCSS
$custom: #a778ef;
$custom-light: #c4a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a778ef",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 263.697,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67079,
    "c": 0.17395,
    "h": 300
  },
  "luminance": 0.2788
}

Semantic roles & 50–950 ramp

primary
#A778EF
secondary
#E5F2D1
accent
#DB0A89
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #A778EF

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

Preview Lab → · Contrast checker → · Palette generator →

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