#A780EF#A780EF

#A780EF is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.4% C 0.162 H 298.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#A780EF
RGBrgb(167, 128, 239)
HSLhsl(261, 78%, 72%)
HSVhsv(261, 46%, 94%)
CMYKcmyk(30.1%, 46.4%, 0%, 6.3%)
CIE-LABlab(61.56, 37.99, -50.69)
CIE-LCHlch(61.56, 63.34, 306.85°)
OKLaboklab(68.41% 0.0765 -0.1425)
OKLCHoklch(68.41% 0.162 298.2)
XYZxyz(39.2318, 29.8855, 85.3462)
Luminance0.2989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A780EF #C8EF80
analogous
#8091EF #A780EF #DE80EF
triadic
#A780EF #EFA780 #80EFA7
tetradic
#A780EF #EF8091 #C8EF80 #80EFDE
square
#A780EF #EF8091 #C8EF80 #80EFDE
split-complementary
#A780EF #EFDE80 #91EF80
monochromatic
#5E1BD9 #814AE8 #A780EF #CDB6F6 #ECE4FC

Accessibility & contrast

On white

3.01
#A780EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#A780EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A780EF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A780EF#FFFFFF#000000##000000
##A780EF1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#6594EC
Tritanopia (blue-blind)
#9894AC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a780ef;
/* rgb */ color: rgb(167, 128, 239);
/* oklch */ color: oklch(68.4% 0.162 298.2);
Tailwind
colors: {
  custom: {
    50: '#c4a5f5',
    500: '#a780ef',
    950: '#000000',
  },
}
SCSS
$custom: #a780ef;
$custom-light: #c4a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a780ef",
  "rgb": {
    "r": 167,
    "g": 128,
    "b": 239
  },
  "hsl": {
    "h": 261.081,
    "s": 77.622,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68405,
    "c": 0.16169,
    "h": 298.2
  },
  "luminance": 0.29886
}

Semantic roles & 50–950 ramp

primary
#A780EF
secondary
#EAF3D7
accent
#DA0C91
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A780EF

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

Preview Lab → · Contrast checker → · Palette generator →

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