#A780FB#A780FB

#A780FB is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.1% C 0.177 H 296.1°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A780FB
RGBrgb(167, 128, 251)
HSLhsl(259, 94%, 74%)
HSVhsv(259, 49%, 98%)
CMYKcmyk(33.5%, 49%, 0%, 1.6%)
CIE-LABlab(62.18, 40.99, -56.31)
CIE-LCHlch(62.18, 69.64, 306.05°)
OKLaboklab(69.08% 0.0778 -0.1589)
OKLCHoklch(69.08% 0.177 296.1)
XYZxyz(41.0637, 30.6182, 94.9945)
Luminance0.3062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A780FB #D4FB80
analogous
#8097FB #A780FB #E480FB
triadic
#A780FB #FBA780 #80FBA7
tetradic
#A780FB #FB8097 #D4FB80 #80FBE4
square
#A780FB #FB8097 #D4FB80 #80FBE4
split-complementary
#A780FB #FBE480 #97FB80
monochromatic
#5509F7 #7E45F9 #A780FB #D0BBFD #EAE1FE

Accessibility & contrast

On white

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

On black

7.12
#A780FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A780FB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A780FB#FFFFFF#000000##000000
##A780FB1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FF
Deuteranopia (green-blind)
#5C95F8
Tritanopia (blue-blind)
#9498B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a780fb;
/* rgb */ color: rgb(167, 128, 251);
/* oklch */ color: oklch(69.1% 0.177 296.1);
Tailwind
colors: {
  custom: {
    50: '#c5a5fd',
    500: '#a780fb',
    950: '#000000',
  },
}
SCSS
$custom: #a780fb;
$custom-light: #c5a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a780fb",
  "rgb": {
    "r": 167,
    "g": 128,
    "b": 251
  },
  "hsl": {
    "h": 259.024,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69079,
    "c": 0.17688,
    "h": 296.1
  },
  "luminance": 0.30619
}

Semantic roles & 50–950 ramp

primary
#A780FB
secondary
#ECF6D5
accent
#E6009D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A780FB

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

Preview Lab → · Contrast checker → · Palette generator →

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