#A784E5#A784E5

#A784E5 is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.6% C 0.143 H 299.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A784E5
RGBrgb(167, 132, 229)
HSLhsl(262, 65%, 71%)
HSVhsv(262, 42%, 90%)
CMYKcmyk(27.1%, 42.4%, 0%, 10.2%)
CIE-LABlab(61.98, 33.29, -44.48)
CIE-LCHlch(61.98, 55.56, 306.81°)
OKLaboklab(68.56% 0.0697 -0.1244)
OKLCHoklch(68.56% 0.143 299.3)
XYZxyz(38.3272, 30.3749, 77.9573)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A784E5 #C2E584
analogous
#8491E5 #A784E5 #D784E5
triadic
#A784E5 #E5A784 #84E5A7
tetradic
#A784E5 #E58491 #C2E584 #84E5D7
square
#A784E5 #E58491 #C2E584 #84E5D7
split-complementary
#A784E5 #E5D784 #91E584
monochromatic
#622AC5 #8351DA #A784E5 #CBB7F0 #EDE6FA

Accessibility & contrast

On white

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

On black

7.08
#A784E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A784E5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A784E5#FFFFFF#000000##000000
##A784E51.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6996E9
Deuteranopia (green-blind)
#7095E3
Tritanopia (blue-blind)
#9B95AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a784e5;
/* rgb */ color: rgb(167, 132, 229);
/* oklch */ color: oklch(68.6% 0.143 299.3);
Tailwind
colors: {
  custom: {
    50: '#c3a8ed',
    500: '#a784e5',
    950: '#000000',
  },
}
SCSS
$custom: #a784e5;
$custom-light: #c3a8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a784e5",
  "rgb": {
    "r": 167,
    "g": 132,
    "b": 229
  },
  "hsl": {
    "h": 261.649,
    "s": 65.101,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6856,
    "c": 0.14257,
    "h": 299.3
  },
  "luminance": 0.30375
}

Semantic roles & 50–950 ramp

primary
#A784E5
secondary
#E6EFD5
accent
#CD198C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A784E5

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

Preview Lab → · Contrast checker → · Palette generator →

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