#A784F6#A784F6

#A784F6 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.5% C 0.165 H 296.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A784F6
RGBrgb(167, 132, 246)
HSLhsl(258, 86%, 74%)
HSVhsv(258, 46%, 96%)
CMYKcmyk(32.1%, 46.3%, 0%, 3.5%)
CIE-LABlab(62.82, 37.49, -52.55)
CIE-LCHlch(62.82, 64.55, 305.51°)
OKLaboklab(69.47% 0.0721 -0.1479)
OKLCHoklch(69.47% 0.165 296)
XYZxyz(40.8180, 31.3712, 91.0757)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A784F6 #D3F684
analogous
#849AF6 #A784F6 #E084F6
triadic
#A784F6 #F6A784 #84F6A7
tetradic
#A784F6 #F6849A #D3F684 #84F6E0
square
#A784F6 #F6849A #D3F684 #84F6E0
split-complementary
#A784F6 #F6E084 #9AF684
monochromatic
#5512EE #7E4BF2 #A784F6 #D0BDFA #EBE2FD

Accessibility & contrast

On white

2.89
#A784F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#A784F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A784F6
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A784F6#FFFFFF#000000##000000
##A784F61.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FA
Deuteranopia (green-blind)
#6596F3
Tritanopia (blue-blind)
#9599B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a784f6;
/* rgb */ color: rgb(167, 132, 246);
/* oklch */ color: oklch(69.5% 0.165 296.0);
Tailwind
colors: {
  custom: {
    50: '#c4a8fa',
    500: '#a784f6',
    950: '#000000',
  },
}
SCSS
$custom: #a784f6;
$custom-light: #c4a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a784f6",
  "rgb": {
    "r": 167,
    "g": 132,
    "b": 246
  },
  "hsl": {
    "h": 258.421,
    "s": 86.364,
    "l": 74.118
  },
  "oklch": {
    "l": 0.6947,
    "c": 0.16452,
    "h": 296
  },
  "luminance": 0.31372
}

Semantic roles & 50–950 ramp

primary
#A784F6
secondary
#EBF5D6
accent
#E3039E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A784F6

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

Preview Lab → · Contrast checker → · Palette generator →

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