#A780F7#A780F7

#A780F7 is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.9% C 0.172 H 296.8°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A780F7
RGBrgb(167, 128, 247)
HSLhsl(260, 88%, 74%)
HSVhsv(260, 48%, 97%)
CMYKcmyk(32.4%, 48.2%, 0%, 3.1%)
CIE-LABlab(61.97, 39.98, -54.44)
CIE-LCHlch(61.97, 67.55, 306.29°)
OKLaboklab(68.85% 0.0774 -0.1534)
OKLCHoklch(68.85% 0.172 296.8)
XYZxyz(40.4399, 30.3687, 91.7088)
Luminance0.3037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A780F7 #D0F780
analogous
#8094F7 #A780F7 #E280F7
triadic
#A780F7 #F7A780 #80F7A7
tetradic
#A780F7 #F78094 #D0F780 #80F7E2
square
#A780F7 #F78094 #D0F780 #80F7E2
split-complementary
#A780F7 #F7E280 #94F780
monochromatic
#580FEE #7F46F3 #A780F7 #CFBAFB #EBE2FD

Accessibility & contrast

On white

2.97
#A780F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#A780F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A780F7
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A780F7#FFFFFF#000000##000000
##A780F71.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#5F94F4
Tritanopia (blue-blind)
#9597B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a780f7;
/* rgb */ color: rgb(167, 128, 247);
/* oklch */ color: oklch(68.9% 0.172 296.8);
Tailwind
colors: {
  custom: {
    50: '#c4a5fa',
    500: '#a780f7',
    950: '#000000',
  },
}
SCSS
$custom: #a780f7;
$custom-light: #c4a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a780f7",
  "rgb": {
    "r": 167,
    "g": 128,
    "b": 247
  },
  "hsl": {
    "h": 259.664,
    "s": 88.148,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68851,
    "c": 0.17183,
    "h": 296.8
  },
  "luminance": 0.30369
}

Semantic roles & 50–950 ramp

primary
#A780F7
secondary
#EBF5D6
accent
#E5019A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A780F7

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

Preview Lab → · Contrast checker → · Palette generator →

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