#A780FA#A780FA

#A780FA is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.0% C 0.176 H 296.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A780FA
RGBrgb(167, 128, 250)
HSLhsl(259, 92%, 74%)
HSVhsv(259, 49%, 98%)
CMYKcmyk(33.2%, 48.8%, 0%, 2%)
CIE-LABlab(62.13, 40.73, -55.84)
CIE-LCHlch(62.13, 69.12, 306.11°)
OKLaboklab(69.02% 0.0777 -0.1575)
OKLCHoklch(69.02% 0.176 296.2)
XYZxyz(40.9065, 30.5554, 94.1665)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A780FA #D3FA80
analogous
#8096FA #A780FA #E480FA
triadic
#A780FA #FAA780 #80FAA7
tetradic
#A780FA #FA8096 #D3FA80 #80FAE4
square
#A780FA #FA8096 #D3FA80 #80FAE4
split-complementary
#A780FA #FAE480 #96FA80
monochromatic
#550AF5 #7E45F8 #A780FA #D0BBFC #EBE2FE

Accessibility & contrast

On white

2.95
#A780FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#A780FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A780FA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A780FA#FFFFFF#000000##000000
##A780FA1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FE
Deuteranopia (green-blind)
#5D95F7
Tritanopia (blue-blind)
#9498B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a780fa;
/* rgb */ color: rgb(167, 128, 250);
/* oklch */ color: oklch(69.0% 0.176 296.2);
Tailwind
colors: {
  custom: {
    50: '#c4a5fc',
    500: '#a780fa',
    950: '#000000',
  },
}
SCSS
$custom: #a780fa;
$custom-light: #c4a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a780fa",
  "rgb": {
    "r": 167,
    "g": 128,
    "b": 250
  },
  "hsl": {
    "h": 259.18,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69022,
    "c": 0.17562,
    "h": 296.2
  },
  "luminance": 0.30556
}

Semantic roles & 50–950 ramp

primary
#A780FA
secondary
#EBF6D5
accent
#E6009C
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A780FA

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

Preview Lab → · Contrast checker → · Palette generator →

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