#A780E7#A780E7

#A780E7 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.0% C 0.151 H 299.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A780E7
RGBrgb(167, 128, 231)
HSLhsl(263, 68%, 70%)
HSVhsv(263, 45%, 91%)
CMYKcmyk(27.7%, 44.6%, 0%, 9.4%)
CIE-LABlab(61.15, 36.03, -46.89)
CIE-LCHlch(61.15, 59.13, 307.54°)
OKLaboklab(67.97% 0.0754 -0.1314)
OKLCHoklch(67.97% 0.151 299.9)
XYZxyz(38.0760, 29.4231, 79.2591)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A780E7 #C0E780
analogous
#808DE7 #A780E7 #DA80E7
triadic
#A780E7 #E7A780 #80E7A7
tetradic
#A780E7 #E7808D #C0E780 #80E7DA
square
#A780E7 #E7808D #C0E780 #80E7DA
split-complementary
#A780E7 #E7DA80 #8DE780
monochromatic
#6326C7 #834DDD #A780E7 #CBB3F1 #EDE5FA

Accessibility & contrast

On white

3.05
#A780E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#A780E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A780E7
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A780E7#FFFFFF#000000##000000
##A780E71.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6293EB
Deuteranopia (green-blind)
#6A93E4
Tritanopia (blue-blind)
#9B92A8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a780e7;
/* rgb */ color: rgb(167, 128, 231);
/* oklch */ color: oklch(68.0% 0.151 299.9);
Tailwind
colors: {
  custom: {
    50: '#c3a5ef',
    500: '#a780e7',
    950: '#000000',
  },
}
SCSS
$custom: #a780e7;
$custom-light: #c3a5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a780e7",
  "rgb": {
    "r": 167,
    "g": 128,
    "b": 231
  },
  "hsl": {
    "h": 262.718,
    "s": 68.212,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67972,
    "c": 0.15149,
    "h": 299.9
  },
  "luminance": 0.29423
}

Semantic roles & 50–950 ramp

primary
#A780E7
secondary
#E5F0D3
accent
#D01589
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A780E7

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

Preview Lab → · Contrast checker → · Palette generator →

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