#A780FF#A780FF

#A780FF is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.3% C 0.182 H 295.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A780FF
RGBrgb(167, 128, 255)
HSLhsl(258, 100%, 75%)
HSVhsv(258, 50%, 100%)
CMYKcmyk(34.5%, 49.8%, 0%, 0%)
CIE-LABlab(62.40, 42.00, -58.16)
CIE-LCHlch(62.40, 71.74, 305.84°)
OKLaboklab(69.31% 0.0781 -0.1643)
OKLCHoklch(69.31% 0.182 295.4)
XYZxyz(41.7009, 30.8731, 98.3504)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A780FF #D8FF80
analogous
#8099FF #A780FF #E680FF
triadic
#A780FF #FFA780 #80FFA7
tetradic
#A780FF #FF8099 #D8FF80 #80FFE6
square
#A780FF #FF8099 #D8FF80 #80FFE6
split-complementary
#A780FF #FFE680 #99FF80
monochromatic
#5206FF #7D43FF #A780FF #D1BDFF #EAE0FF

Accessibility & contrast

On white

2.93
#A780FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#A780FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A780FF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A780FF#FFFFFF#000000##000000
##A780FF1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5098FF
Deuteranopia (green-blind)
#5995FC
Tritanopia (blue-blind)
#9399B4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a780ff;
/* rgb */ color: rgb(167, 128, 255);
/* oklch */ color: oklch(69.3% 0.182 295.4);
Tailwind
colors: {
  custom: {
    50: '#c5a5ff',
    500: '#a780ff',
    950: '#000000',
  },
}
SCSS
$custom: #a780ff;
$custom-light: #c5a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a780ff",
  "rgb": {
    "r": 167,
    "g": 128,
    "b": 255
  },
  "hsl": {
    "h": 258.425,
    "s": 100,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69311,
    "c": 0.18191,
    "h": 295.4
  },
  "luminance": 0.30874
}

Semantic roles & 50–950 ramp

primary
#A780FF
secondary
#ECF7D4
accent
#E6009F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A780FF

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

Preview Lab → · Contrast checker → · Palette generator →

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