#A780FC#A780FC

#A780FC is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.1% C 0.178 H 295.9°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#A780FC
RGBrgb(167, 128, 252)
HSLhsl(259, 95%, 75%)
HSVhsv(259, 49%, 99%)
CMYKcmyk(33.7%, 49.2%, 0%, 1.2%)
CIE-LABlab(62.24, 41.24, -56.77)
CIE-LCHlch(62.24, 70.17, 306.00°)
OKLaboklab(69.14% 0.0778 -0.1602)
OKLCHoklch(69.14% 0.178 295.9)
XYZxyz(41.2218, 30.6815, 95.8269)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A780FC #D5FC80
analogous
#8097FC #A780FC #E580FC
triadic
#A780FC #FCA780 #80FCA7
tetradic
#A780FC #FC8097 #D5FC80 #80FCE5
square
#A780FC #FC8097 #D5FC80 #80FCE5
split-complementary
#A780FC #FCE580 #97FC80
monochromatic
#5408F9 #7E44FB #A780FC #D0BCFD #EAE1FE

Accessibility & contrast

On white

2.94
#A780FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#A780FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A780FC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A780FC#FFFFFF#000000##000000
##A780FC1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a780fc;
/* rgb */ color: rgb(167, 128, 252);
/* oklch */ color: oklch(69.1% 0.178 295.9);
Tailwind
colors: {
  custom: {
    50: '#c5a5fe',
    500: '#a780fc',
    950: '#000000',
  },
}
SCSS
$custom: #a780fc;
$custom-light: #c5a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a780fc",
  "rgb": {
    "r": 167,
    "g": 128,
    "b": 252
  },
  "hsl": {
    "h": 258.871,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69137,
    "c": 0.17815,
    "h": 295.9
  },
  "luminance": 0.30682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A780FC

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

Preview Lab → · Contrast checker → · Palette generator →

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