#A780EB#A780EB

#A780EB is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.2% C 0.157 H 299.0°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A780EB
RGBrgb(167, 128, 235)
HSLhsl(262, 73%, 71%)
HSVhsv(262, 46%, 92%)
CMYKcmyk(28.9%, 45.5%, 0%, 7.8%)
CIE-LABlab(61.35, 37.01, -48.79)
CIE-LCHlch(61.35, 61.24, 307.18°)
OKLaboklab(68.19% 0.076 -0.1369)
OKLCHoklch(68.19% 0.157 299)
XYZxyz(38.6474, 29.6517, 82.2684)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A780EB #C4EB80
analogous
#808EEB #A780EB #DC80EB
triadic
#A780EB #EBA780 #80EBA7
tetradic
#A780EB #EB808E #C4EB80 #80EBDC
square
#A780EB #EB808E #C4EB80 #80EBDC
split-complementary
#A780EB #EBDC80 #8EEB80
monochromatic
#6121D0 #824BE3 #A780EB #CCB5F3 #EDE5FB

Accessibility & contrast

On white

3.03
#A780EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#A780EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A780EB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A780EB#FFFFFF#000000##000000
##A780EB1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#6893E8
Tritanopia (blue-blind)
#9993AA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a780eb;
/* rgb */ color: rgb(167, 128, 235);
/* oklch */ color: oklch(68.2% 0.157 299.0);
Tailwind
colors: {
  custom: {
    50: '#c4a5f2',
    500: '#a780eb',
    950: '#000000',
  },
}
SCSS
$custom: #a780eb;
$custom-light: #c4a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a780eb",
  "rgb": {
    "r": 167,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 261.869,
    "s": 72.789,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68187,
    "c": 0.1566,
    "h": 299
  },
  "luminance": 0.29652
}

Semantic roles & 50–950 ramp

primary
#A780EB
secondary
#E7F1D5
accent
#D5118D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A780EB

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

Preview Lab → · Contrast checker → · Palette generator →

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