#A778ED#A778ED

#A778ED is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.0% C 0.171 H 300.4°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A778ED
RGBrgb(167, 120, 237)
HSLhsl(264, 76%, 70%)
HSVhsv(264, 49%, 93%)
CMYKcmyk(29.5%, 49.4%, 0%, 7.1%)
CIE-LABlab(59.67, 41.95, -52.57)
CIE-LCHlch(59.67, 67.26, 308.59°)
OKLaboklab(66.97% 0.0867 -0.1479)
OKLCHoklch(66.97% 0.171 300.4)
XYZxyz(37.9353, 27.7627, 83.4645)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A778ED #BEED78
analogous
#7883ED #A778ED #E278ED
triadic
#A778ED #EDA778 #78EDA7
tetradic
#A778ED #ED7883 #BEED78 #78EDE2
square
#A778ED #ED7883 #BEED78 #78EDE2
split-complementary
#A778ED #EDE278 #83ED78
monochromatic
#641CCF #8442E6 #A778ED #CAAEF4 #EDE4FB

Accessibility & contrast

On white

3.20
#A778ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#A778ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A778ED
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A778ED#FFFFFF#000000##000000
##A778ED1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF1
Deuteranopia (green-blind)
#5D8FEA
Tritanopia (blue-blind)
#998EA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a778ed;
/* rgb */ color: rgb(167, 120, 237);
/* oklch */ color: oklch(67.0% 0.171 300.4);
Tailwind
colors: {
  custom: {
    50: '#c4a0f3',
    500: '#a778ed',
    950: '#000000',
  },
}
SCSS
$custom: #a778ed;
$custom-light: #c4a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a778ed",
  "rgb": {
    "r": 167,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 264.103,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.66965,
    "c": 0.17148,
    "h": 300.4
  },
  "luminance": 0.27763
}

Semantic roles & 50–950 ramp

primary
#A778ED
secondary
#E4F1D0
accent
#D90D87
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A778ED

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

Preview Lab → · Contrast checker → · Palette generator →

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