#A778EB#A778EB

#A778EB is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.169 H 300.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A778EB
RGBrgb(167, 120, 235)
HSLhsl(265, 74%, 70%)
HSVhsv(265, 49%, 92%)
CMYKcmyk(28.9%, 48.9%, 0%, 7.8%)
CIE-LABlab(59.57, 41.47, -51.62)
CIE-LCHlch(59.57, 66.22, 308.77°)
OKLaboklab(66.85% 0.0865 -0.1452)
OKLCHoklch(66.85% 0.169 300.8)
XYZxyz(37.6448, 27.6464, 81.9342)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778EB #BCEB78
analogous
#7882EB #A778EB #E178EB
triadic
#A778EB #EBA778 #78EBA7
tetradic
#A778EB #EB7882 #BCEB78 #78EBE1
square
#A778EB #EB7882 #BCEB78 #78EBE1
split-complementary
#A778EB #EBE178 #82EB78
monochromatic
#651ECB #8443E3 #A778EB #CAADF3 #ECE3FB

Accessibility & contrast

On white

3.22
#A778EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A778EB#FFFFFF#000000##000000
##A778EB1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#9A8DA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a778eb;
/* rgb */ color: rgb(167, 120, 235);
/* oklch */ color: oklch(66.9% 0.169 300.8);
Tailwind
colors: {
  custom: {
    50: '#c4a0f2',
    500: '#a778eb',
    950: '#000000',
  },
}
SCSS
$custom: #a778eb;
$custom-light: #c4a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a778eb",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 264.522,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66852,
    "c": 0.16901,
    "h": 300.8
  },
  "luminance": 0.27647
}

Semantic roles & 50–950 ramp

primary
#A778EB
secondary
#E2F0CF
accent
#D60F85
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A778EB

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

Preview Lab → · Contrast checker → · Palette generator →

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