#A780F3#A780F3

#A780F3 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.6% C 0.167 H 297.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A780F3
RGBrgb(167, 128, 243)
HSLhsl(260, 83%, 73%)
HSVhsv(260, 47%, 95%)
CMYKcmyk(31.3%, 47.3%, 0%, 4.7%)
CIE-LABlab(61.76, 38.98, -52.57)
CIE-LCHlch(61.76, 65.45, 306.56°)
OKLaboklab(68.63% 0.0769 -0.148)
OKLCHoklch(68.63% 0.167 297.5)
XYZxyz(39.8292, 30.1244, 88.4928)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A780F3 #CCF380
analogous
#8092F3 #A780F3 #E180F3
triadic
#A780F3 #F3A780 #80F3A7
tetradic
#A780F3 #F38092 #CCF380 #80F3E1
square
#A780F3 #F38092 #CCF380 #80F3E1
split-complementary
#A780F3 #F3E180 #92F380
monochromatic
#5B15E3 #8048EE #A780F3 #CEB8F8 #ECE3FC

Accessibility & contrast

On white

2.99
#A780F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#A780F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A780F3
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A780F3#FFFFFF#000000##000000
##A780F31.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A96F7
Deuteranopia (green-blind)
#6294F0
Tritanopia (blue-blind)
#9796AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a780f3;
/* rgb */ color: rgb(167, 128, 243);
/* oklch */ color: oklch(68.6% 0.167 297.5);
Tailwind
colors: {
  custom: {
    50: '#c4a5f7',
    500: '#a780f3',
    950: '#000000',
  },
}
SCSS
$custom: #a780f3;
$custom-light: #c4a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a780f3",
  "rgb": {
    "r": 167,
    "g": 128,
    "b": 243
  },
  "hsl": {
    "h": 260.348,
    "s": 82.734,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68626,
    "c": 0.16677,
    "h": 297.5
  },
  "luminance": 0.30125
}

Semantic roles & 50–950 ramp

primary
#A780F3
secondary
#EAF4D7
accent
#DF0696
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A780F3

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

Preview Lab → · Contrast checker → · Palette generator →

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